Write a QBASIC and flowchart program to find this series 1,2,4,8 ..up to 10 terms and sum them. The loops you need to use for next loop, while wend and do while loop. Use all the loops.
Answers
Answered by
1
Answer:
512
Explanation:
1,2,4,8,16,32,64,128,256,512
Answered by
0
AnsFor Loop’s syntax
For Loop’s syntax Example
For Loop’s syntax Example FOR i = 1 TO 4 step 2
For Loop’s syntax Example FOR i = 1 TO 4 step 2 PRINT “Hello world!"
For Loop’s syntax Example FOR i = 1 TO 4 step 2 PRINT “Hello world!" NEXT i
Similar questions