ucsb-cs56-projects / cs56-utilities-calculator

-
1 stars 10 forks source link

Allow for multiple operator use #37

Closed oliverleifshen closed 6 years ago

oliverleifshen commented 7 years ago

Currently the calculator only allows one operator per expression. Write code that allows for multiple operator use, preferably reading left to right ignoring order of operations, so 3 + 4 * 5 is 35 instead of 23.

MadRubicant commented 7 years ago

F16 OK (150 pts)

MadRubicant commented 7 years ago

Hint: Try having the calculator evaluate when it hits a new operator

xavierholt commented 6 years ago

Dropping the points on this one 'cause I think it's a simple GUI fix (correct me if I'm wrong!):

100 XP