Computer Studies

Draw a flowchart and write a program in QBASIC to display the first 10 terms of the series:
144, 121, 100, ………

QBASIC: Conditional Statements

8 Likes

Answer

Flowchart

Draw a flowchart and write a program in QBASIC to display the first 10 terms of the series: 144, 121, 100. Class 7 ICSE Understanding Computer Studies

QBASIC Program

Cls
Let N = 12
Let C = 1
START:
Let M = N * N
Print M
C = C + 1
N = N - 1
If C <= 10 Then GoTo START:
End

Output

144
121
100
81
64
49
36
25
16
9

Answered By

5 Likes


Related Questions