Computer Studies

Correct the errors in the following flowchart and write the program:

Correct the mistakes in the given flowchart. Chapter 9 Question 2 Class 7 ICSE Understanding Computer Studies.

QBASIC: For-Next Statements

4 Likes

Answer

Flowchart

Corrected flowchart for Chapter 9 Question 2 Class 7 ICSE Understanding Computer Studies.

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


Related Questions