Computer Studies
Draw a flowchart and write a program in QBASIC to display the first 10 terms of the series 3, 6, 12, 24, …….
QBASIC: For-Next Statements
13 Likes
Answer
Flowchart

QBASIC Program
Cls
Let A = 3
For I = 1 To 10
Print A;
A = A * 2
Next I
End
Output
3 6 12 24 48 96 192 384 768 1536
Answered By
7 Likes
Related Questions
Explain the following with an example:
(a) Continuous loop
(b) Step loopWrite down the format of:
(a) WHILE - WEND
(b) FOR-NEXTDraw a flowchart and write a program in QBASIC to display the first 10 terms of the series -1, 2, 5, 8, …….
Draw a flowchart and write a program in QBASIC to display the first 10 terms of the series 7, 14, 21, …….