kristofer / basic1.bas
0 likes
0 forks
1 files
Last active
| 1 | 10 PRINT "Top 10 BASIC Features" |
| 2 | 20 PRINT "1. PRINT - Displays output on the screen" |
| 3 | 30 PRINT "2. LET - Assigns values to variables" |
| 4 | 40 LET myVar = 5 |
| 5 | 50 PRINT "3. INPUT - Gets user input" |
| 6 | 60 INPUT "Enter your name"; name$ |
| 7 | 70 PRINT "Hello ";name$ |
| 8 | 80 PRINT "4. IF/THEN - Makes decisions" |
| 9 | 90 INPUT "Enter a number"; num |
| 10 | 100 IF num > 5 THEN PRINT "The number is greater than 5" |
Newer
Older