End of if statement. Just follow the BODMAS rules in order to start off with division instead and then move on to multiplication then addition and so on. A ddition and S ubtraction left-to-right Divide and Multiply rank equally and go left to right.
If you dont youll get an incorrect answer.
If the top of values has the result simply return it. How to solve the problems uing BODMAS rule. If you dont get the BODMAS order correct youll probably end up with a completely different answer so make sure you get remembering. Public class bodmas static void mainScanner obnew ScannerSystemin.