Revisions: 10/05/04, 08/19/06 -- Format Changes
In this chapter you will learn about
INPUT statement gets data
from the computer keyboard.
Up until now in these notes, all the data a program uses have been part of the program itself. For example:
' Calculate Miles per Gallon ' LET MILES = 45678.3 - 45149.6 LET GALLONS = 12.5 PRINT MILES / GALLONS END
The data is the first odometer reading (45149.6), the second odometer reading (45678.3), and the number of gallons.
Will this program do the same thing each time it is run?