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.

Monday, April 12, 2010



Practical#11



SOURCE PROGRAM



10 REM PRODUCE SUM OF FIRST 10 NATURAL NUMBERS

20 CLS

30 LET S = 0

40 FOR N = 1 TO 10

50 LET S = S + N

60 NEXT N

70 PRINT "THE SUM OF FIRST 10 NATURAL NUMBERS=:", S

80 END



OUTPUT



THE SUM OF FIRST 10 NATURAL NUMBERS=: 55



Return to Top

No comments:

Post a Comment