Computer Studies
Correct the errors in the following flowchart and write the program:
QBASIC: For-Next Statements
6 Likes
Answer
Flowchart
QBASIC Program
Cls
Input "Enter a number"; N
For I = 1 To N
M = I + I
Print M
Next I
End
Output
Enter a number? 5
2
4
6
8
10
Answered By
6 Likes