Computer Studies
Correct the errors in the following flowchart and write the program:
QBASIC: For-Next Statements
4 Likes
Answer
Flowchart
QBASIC Program
Cls
Input "Enter a value"; N
For I = 1 To N
Input "ENTER YOUR HEIGHT IN METRES"; M
CM = M * 100
Print CM
Next I
End
Output
Enter a value? 2
Enter your height in metres? 4
400
Enter your height in metres? 5
500
Answered By
3 Likes