Convert the following expression to postfix and prefix
X $ Y Z - M + N + P / Q / (R + S)
Answers were Sorted based on User's Feedback
Answer / test
postfix
Z-M+N+P/Q/(R+S)
z-m-n+p/q/rs+
z-m-n+pq//rs+
z-m-n+pq/rs+/
zm- -n+pq/rs+/
zm-n- +pq/rs+/
zm-n-pq/rs+/+
prefix
Z-M+N+P/Q/(R+S)
z-m+n+p/q/+(rs)
z-m+n+//pq+(rs)
-zm+n+//pq+(rs)
+-zmn+//pq+(rs)
++-zmn//pq+(rs)
Is This Answer Correct ? | 7 Yes | 3 No |
Answer / test
postfix
Z-M+N+P/Q/(R+S)
z-m-n+p/q/rs+
z-m-n+pq//rs+
z-m-n+pq/rs+/
zm- -n+pq/rs+/
zm-n- +pq/rs+/
zm-n-pq/rs+/+
prefix
Z-M+N+P/Q/(R+S)
z-m+n+p/q/+(rs)
z-m+n+//pq+(rs)
-zm+n+//pq+(rs)
+-zmn+//pq+(rs)
++-zmn//pq+(rs)
Is This Answer Correct ? | 8 Yes | 7 No |
How to write the code of the program to swap two numbers with in one statement?
How can I increase the allowable number of simultaneously open files?
What is macro?
what is the use of macro program
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?
the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....
How can I read in an object file and jump to locations in it?
why array index always starts from zero??
what is the little endian and big endian?
main() { char x; while(x=0;x<=255;x++) printf("\nAscii value %d Charater %c",x,x); }
What is a built-in function in C?
what is the c.