Skip to content

Instantly share code, notes, and snippets.

@falonofthetower
Created July 11, 2015 00:58
Show Gist options
  • Save falonofthetower/de0ccb329faa27be1ea4 to your computer and use it in GitHub Desktop.
Save falonofthetower/de0ccb329faa27be1ea4 to your computer and use it in GitHub Desktop.
What is the first number?
3
What is the second number?
3
1) Add
2) Subtract
3) Multiply
4) Divide
f
Please enter a number from 1 through 4
1) Add
2) Subtract
3) Multiply
4) Divide
f
Please enter a number from 1 through 4
1) Add
2) Subtract
3) Multiply
4) Divide
f
Please enter a number from 1 through 4
1) Add
2) Subtract
3) Multiply
4) Divide
3
Answer: 9
Would you like to process another calculation?
y
What is the first number?
3
What is the second number?
3
1) Add
2) Subtract
3) Multiply
4) Divide
3
Answer: 9
Would you like to process another calculation?
n
Answer:
Would you like to process another calculation?
n
Answer:
Would you like to process another calculation?
n
Answer:
Would you like to process another calculation?
n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment