Search This Blog

Tuesday, 31 December 2019

Computer Studies For Class IX (Science) and X (Arts /General /Humanities Group) - Practical No.6

Go To Index

Practical No. 6: W.A.P. to generate the sequence of 3, 8, 13, 18, 23, 28 in ascending and descending order.


Ascending Order
10 CLS: Print Tab(25)"Sequence of number from 3 till 28"
20 Let A=-2
30 Let A=A+5
40 Print Tab(40) A
50 If A=28 then END
60  Go to 30
RUN

Descending Order
10 CLS: Print Tab(25)"Sequence of number from 3 till 28"
20 Let A=33
30 Let A=A+-
40 Print Tab(40)  A
If A=3 then END
60  Go to 30
RUN


No comments:

Post a Comment