1.

John has a mathematical expression to solve with the help of a compiler. Now he hasto train the compiler in such a way that it solves the expression by following the rulesof mathematics.Consider the example of the given expression: (( 2 + 3 ) * ( 5 / ( 3 + 6 ) ) )Now for solving the above expression, one has to follow the BODMAS rule i.e. (bracket,division, multiply, add, sub).How will he design the compiler for this purpose?​

Answer»

Answer:

Now he has to TRAIN the compiler in such a way that it solves the expression by following the RULES. of mathematics. ... Now for solving the above expression, ONE has to follow the BODMAS RULE i.e. (bracket, division, multiply, add, sub).



Discussion

No Comment Found