Closed fnoori closed 8 years ago
I have made some progress with this issue. For example if the user is calculating: "5 % 25" It must be inputted as: "(5%)25"
Whereas if the user wants to calculate "5%" They can inputted as is
as a workaround I've implemented how the calculator will solve "5 % 25", by inserting a "(*1)" after the "%"
for example: if user inputs 5% the program appends 5%(_1) then the user can add 5%(_1)25
I don't know how to make this so that the "(*1)" is no necessary
For example, if user wants to calculate 5% + 7%, the program spits out an error message. This one might be very challenging to fix.