Calculator by Zelda Link freak the legend9th Nov 2003 5:02
|
---|
Summary This is a simple calculator, just load up the code, enter sum, and it brings up the answer. This is a simple calculator, it doesn't do decimals. Description Code ` This code was downloaded from The Game Creators ` It is reproduced here with full permission ` http://www.thegamecreators.com Sums: cls Input "Enter Number";A Input "Add,Times,Divide or Minus?";action$ Input "And second number?",B If action$="Times" C = A * B Print C Sleep 5000 GOTO Sums Endif If action$="Add" C = A + B Print C sleep 5000 GOTO Sums endif If action$="Divide" C = A / B Print C sleep 5000 GOTO Sums endif If action$="Minus" C = A - B Print C sleep 5000 GOTO Sums endif |