ExamPlay Light Logo
Log ind

WAEC - Computer Studies (2022 - No. 22)

Use the QBASIC program below to answer question below

10 REM Program to calculate product of numbers

20 CLS

30 INPUT A

40 INPUT B

50 LET PRODUCT=A*B

60 PRINT PRODUCT

70 END

 

The number 10, 20,30, 40, 50, 60 and 70 as stated in the program indicate 

bullet numbering
codes
bullet numbering
line number

Forklaring

The numbers 10, 20, 30, 40, 50, 60, and 70 in the Q BASIC program represent line numbers. In Q BASIC, each line of code is identified by a line number. The line numbers help navigate the program, jump to specific lines, and edit the code. 

Kommentarer (0)

Log ind for at kommentere
Reklame
BrainBehindX Inc Logo
©2026; Drevet af BrainBehindX Inc