Ask Experts Questions for FREE Help !
Ask
    jamaicandods's Avatar
    jamaicandods Posts: 2, Reputation: 1
    New Member
     
    #1

    Nov 28, 2006, 09:53 AM
    Assembler Calculator
    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.
    rrr's Avatar
    rrr Posts: 91, Reputation: 1
    Junior Member
     
    #2

    Jan 4, 2007, 02:14 AM
    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

    Code:
    [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:

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

How to do e-0.05 on a calculator [ 5 Answers ]

Hi there, What are the exact steps I press on a calculator to do the following: - 40e-0.05 I keep getting the wrong answer? Any help is appreciated


View more questions Search