Calculator by jack murray4th Jul 2005 8:08
|
---|
Summary A simple calculator program with +-*/ Description Code ` This code was downloaded from The Game Creators ` It is reproduced here with full permission ` http://www.thegamecreators.com input "Please enter your first number:>",n1 input "Please enter your choice of operation (+-/*):>",operation$ input "Please enter your second number:>",n2 if operation$ = "+" then print n1 + n2 if operation$ = "-" then print n1 - n2 if operation$ = "*" then print n1 * n2 if operation$ = "/" then print n1 / n2 wait key |