Simple Calculator for 68K

Hi. Have to write a simple calculator program for a 68K for school. I'm just looking for some general approach advice, nothing too detailed. It only has to take inputs from 0-9999, and perform +,-,*,/ functions. Would you think it would be best to use prefix, postfix, or infix? My main area of concern is around the inputting. Should I have it scan each character as you input? Stop when it sees a + or - key, just like a real calculator? Or have the user type 1234+ etc.. Advantages/disadvantages? Some of you must have done this one in school. :)
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!