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
8 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
4 Likes
Related Questions
Draw 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, …….
Draw a flowchart and write a program in QBASIC to display the sum of the first 10 terms of the series S = 5 + 8 + 11 + …….
Draw a flowchart and write a program in QBASIC to display the sum of the first 10 terms of the series S = 99 + 90 + 81 + …….