Practical#3A
SOURCE PROGRAM
10 REM PREPARE ANY MULTIPLICATION TABLE UPTILL 10 TIMES
20 CLS
30 INPUT "ENTER TABLE NUMBER";TAB
40 FOR N = 1 TO 10
50 PRINT TAB; " * "; N; "="; TAB * N
60 NEXT N
70 END
OUTPUT
2 * 1 = 2
2 * 2 = 4
2 * 3 = 6
2 * 4 = 8
2 * 5 = 10
2 * 6 = 12
2 * 7 = 14
2 * 8 = 16
2 * 9 = 18
2 * 10 = 20
Monday, April 12, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment