Write a program to generate the series 1 4 9 16 25 upto 10 term for qbasic
Answers
Answered by
18
starting from 3 added to 1 then 5 added to 4 then 7 added to 9 ......
means the adding number is increasing by 2
means the adding number is increasing by 2
Answered by
23
Answer:
1. Sequence is x²
10 FOR X = 1 TO 10
20 PRINT X*X
30 NEXT X
40 END
2. Sequence is (x³ + 1)
10 FOR X = 1 TO 10
20 PRINT(X*X*X+1)
30 NEXT X
40 END
Explanation:
Similar questions