Computer Studies
Correct the mistakes in the following flowchart and write the program. The given flowchart is to accept the length in centimeters and express it in metres (if the length exceeds 100 centimeters or more), otherwise in centimeters.

QBASIC: Conditional Statements
14 Likes
Answer
Flowchart

QBASIC Program
Cls
Input "ENTER LENGTH"; A
If A >= 100 Then
M = A * 100
Print M
Else
Print A
End If
End
Output
ENTER LENGTH? 562
56200
Answered By
6 Likes
Related Questions
Fill in the blanks:
A command used to execute a QBASIC program is _________.
Fill in the blanks:
_________ statement shows the output of a program during execution.
Correct the mistakes in the following flowchart and write the program. The given flowchart is to accept one positive and one negative number. It also checks whether the sum is a positive number or a negative number.
Display the output of the following QBASIC program:
CLS
P = 5
START:
PRINT P
P = P + 5
IF P <= 50 THEN GOTO START:
END