jamaicandods
Nov 28, 2006, 09:53 AM
I am doing an assembler class and I am supposed to create a program that simulates a calculator using plus, minus and multiply operands no divide. If anyone could help me with this code it would be greatly appreciated. Thanks.
Well, what programming language do you use??
If you don't have one, or want a easier on go to
Liberty BASIC - Easy Programming for Windows (http://www.libertybasic.com)
The code for libertys calculator is as simple as this
[beginning]
input summat$
print eval$(summat$)
goto [beginning]
Now that I read that you are supposed to use an interpreter, this isn't very helpful. But it shows how easy programming can be! :)
:cool: geeks rule :cool: