Complete Notes • MCQs • Online Quiz • PYTHON • QBASIC • SEE 2083
WAP to print 2,8 ,18,32........upto 10th term.
cls a = 2b = 6for i = 1 to 10print a a = a + bb = b + 4next i end
Is there an explanation of it?
Ai Baigan
WAP to print 2,8 ,18,32........upto 10th term.
ReplyDeletecls
Deletea = 2
b = 6
for i = 1 to 10
print a
a = a + b
b = b + 4
next i
end
Is there an explanation of it?
ReplyDeleteAi Baigan
ReplyDelete