Welcome to the Parallax Discussion Forums, sign-up to participate.

strayous
Posts: **2**

I understand that this should be relatively simple. I'm new to all of this so please bare with me. My professor wants us to make a program that works on the microcontroller, however it doesn't have to display on to an LCD or take a physical input with a keypad. My professor just wants us to work with in the Stamp program to get one to work. I know that the command for performing math are really simple, but I'm not sure how to start by asking someone "What number would you like to enter for number 1?", "What operation would you like to perform?", and "What number would you like to enter for number 2?"

The calculator has to add, subtract, multiply, and divide. It only has to have the capacity to accept 2 numbers for input.

Any help would be appreciated for this.

The calculator has to add, subtract, multiply, and divide. It only has to have the capacity to accept 2 numbers for input.

Any help would be appreciated for this.

## Comments

4 Commentssorted by Date Added Votes22,5770Vote UpVote Down20Vote UpVote DownA calculator should have 0-9 on a keypad along with whatever buttons for operations that you wish to perform, I believe. My professor says we are just allowed to input from out computers though, so I'm not sure if picturing what keys are there would help. If I understand what you said correctly.

I think I just need to figure out what functions do what in Stamp and thats what is messing me up. It would help if I had a cheat sheet of commands that work in Stamp. Is that a thing?

I apologize for such novice questions.

22,5770Vote UpVote Down22,5770Vote UpVote Down