Practical#4A
SOURCE PROGRAM
10 REM GENERATE FOLLOWING NUMBERS IN ASCENDING ORDER
20 REM "13, 8, 18, 3, 23, 28 "
30 CLS
40 PRINT "NUMBERS IN ASCENDING ORDER"
50 FOR N = 3 TO 28 STEP 5
60 PRINT N
70 NEXT N
OUTPUT
NUMBERS IN ASCENDING ORDER
3
8
13
18
23
28
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment