TGC Codebase Backup



The Ultimate Calc by Anonymous Coder

29th Jan 2005 17:43
Summary

It was made by The Nerd and was edited by The Geek



Description

It is a simple calculator with addition, subtraction, multiplication, and division!



Code
                                    ` This code was downloaded from The Game Creators
                                    ` It is reproduced here with full permission
                                    ` http://www.thegamecreators.com
                                    
                                    ` This code was downloaded from The Game Creators
` It is reproduced here with full permission
` http://www.thegamecreators.com

`´ calculating program
`´ Made by: The Nerd
`´ Edited by: The Geek
print "ULTIMATE CALC 1.0"
wait 2000
print "This program was made by The Nerd"
wait 2000
print "This program was edited by The Geek"
wait 2000
`´ fist i make an INPUT
input "type first : ", a
input "type second : ", b
`´ then the computer calculating....
c = a
d = b
e = a + b
f = a * b
g = a / b
h = a - b
`´ display result on the screen
print "sum"
print e
print "answer to a multiplication problem"
print f
print "answer to a division problem"
print g
print " answer to a subtraction problem"
print h
`´ display message
print "press any key to quit"
`´ close the program
wait key
end
`´ this is the program