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