Can anyone please help to resolve this problem. I am just starting in C++. Was given this problem. Does anyone have any ideas on how to do it the fast way.
First, apply operator ( ) and only once;
Apply r + - * / to complete the equation with =;
Display the full equation with the operators applied;
For example, suppose 4 numbers 120 30 4 1 entered by the user, then the output can
be displayed as
(120 / 30 ) / 4 = 1
A couple of testing numbers are applied as below.
> I am just starting in C++. Was given this problem.
If you are just starting with programming (you have not programmed in some other language earlier), you should set this problem aside for now; you can attempt to solve it after some time.