Computer Studies
Display the output of the following QBASIC program:
CLS
P = 5
START:
PRINT P
P = P + 5
IF P <= 50 THEN GOTO START:
END
Related Questions
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.
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 = 2
Q = 1
START:
PRINT P*Q
Q = Q + 1
IF Q <=10 THEN GOTO START:
ENDDisplay the output of the following QBASIC program:
CLS
A = 5
B = 10
START:
C = A + B
PRINT C
A = A + 1
IF A <=10 THEN GOTO START:
END