Assignment and Input / Output statements

Assignment and Input / Output statements

    We know that data must be assigned to the variable before they are used in computations. This can be done with LET or READ statements. After the program is run, the results of calculations are obtained with a PRINT statement. The LET statement is also called Assignment statement (in mode versions of BASIC LET need not be used in all the assignment statements) and the READ and the PRINT statements are the Input and the Output statements respectively.
 

Last modified: Monday, 9 January 2012, 9:26 PM