Write a program that reads an expression as input and print out the result. Only integers and operators below are allowed in the expression:+ - * / % ( )Your program should be able to deal with multiple cases of input.Sample Input3 + 5 * 6 (2+32)/2-6Sample Output3311
Write a program that reads an expression as input and print out the result. Only integers and operators below are allowed in the expression:+ - * / % ( )Your program should be able to deal with multiple cases of input.Sample Input3 + 5 * 6 (2+32)/2-6Sample Output3311
发布时间:2024-09-30 12:41:22