Prefix Evaluation And Conversions
1. You are given a prefix expression. 2. You are required to evaluate it and print it's value. 3. You are required to convert it to infix and print it. 4. You are required to convert it to postfix and print it. Note -> Use brackets in infix expression for indicating precedence. Check sample input output for more details.
1. Expression is a valid prefix expression 2. The only operators used are +, -, *, / 3. All operands are single digit numbers.
Input is managed for you
value, a number infix prefix
2 ((2+((6*4)/8))-3) 264*8/+3-