Detect errors in the following statements:
1. INPUT A:B
2. PRINT AREA "A";A
3. LET AS KALIMPONG
4. READ A=ABEB
5. IF THEN A>20 GOTO 10
Answers
Answered by
1
Explanation:
1.) A:B is not a variable as No special charecter is allowed except underscore while naming variable.
2.) Separator is missing between AREA and "A"
3.) AS is not used with LET
4.) Equal to sign is not used with READ
5.) There is not condition between IF and THEN.
The format should be:
IF A>20 THEN GOTO 10
Similar questions