Well Come to Professional Programmers

Learning Goal

Learning is a process to acquire, enhance, or make changes in one's knowledge. Learning Module presents essential and masks non-essential pieces of knowledge. It is self paced and presents required links to important examples and related terminologies essentially required for examination centric study. The module is focused on examination system in vogue in Pakistan and helps student acquire maximum marks in limited time of study.

GW-BASIC COUNTER

Monday, April 12, 2010



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




Return to Top

No comments:

Post a Comment