I need the program that takes from standard input an expression without left parenthesis and prints the equivalent infix expression with the parenthesis inserted???
Like EXAMPLE: 1+2)3-4)5-6)))
THE PROGRAM SHOULD PRINT LIKE ((1+2)((3-4)(5-6)))
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.