ExamPlay Dark Logo
Kirjaudu sisään

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

Selitys

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. 

Kommentit (0)

Kirjaudu sisään kommentoidaksesi
Mainos
BrainBehindX Inc Logo
©2026; Powered By BrainBehindX Inc