Computer Studies
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 + …….
QBASIC: For-Next Statements
7 Likes
Answer
Flowchart
QBASIC Program
Cls
Let A = 5
Let S = 0
For I = 1 To 10
S = S + A
A = A + 3
Next I
Print "Sum = "; S
End
Output
Sum = 185
Answered By
5 Likes
Related Questions
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 = 99 + 90 + 81 + …….
Draw a flowchart and write a program in QBASIC to display the sum of the first 10 terms of the series S = 1 + 2 + 4 + 8 + …….
Draw a flowchart and write a program in QBASIC to display the first 10 terms of the series -1, 2, 5, 8, …….