Computer Studies
Draw a flowchart and write a program in QBASIC to display the first 10 terms of the series -1, 2, 5, 8, …….
QBASIC: For-Next Statements
4 Likes
Answer
Flowchart
QBASIC Program
Cls
Let A = -1
For I = 1 To 10
Print A;
A = A + 3
Next I
END
Output
-1 2 5 8 11 14 17 20 23 26
Answered By
2 Likes
Related Questions
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 + …….
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 first 10 terms of the series 3, 6, 12, 24, …….