Help Needed || OA question
Anonymous User
215
Aug 19, 2021

Given an expression as string, evaluate the expression using BODMAS and without BODMAS. Only ‘+’, ‘-’ and ‘*’ operators were allowed in the expression. (Note that without using BODMAS you will get several answers and you will have to find all answers)

Eg: 5 * 4 - 3 * 2

Using BODMAS: 14

Without BODMAS: 10, -10, 34, 14

Comments (0)