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.
![]() |
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
The code for libertys calculator is as simple as this
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! :)Code:[beginning]
input summat$
print eval$(summat$)
goto [beginning]
:cool: geeks rule :cool:
All times are GMT -7. The time now is 01:36 AM. |