Computer Science, asked by 130096, 5 hours ago

E. Identify the errors: 1. IFA=5 Rs THEN GOTO START
2. IFA>B THEN PRINTAIS GREATER
3. IF A=10A THEN PRINTA$ ELSE PRINT B​

Answers

Answered by 21msas0266
0

ctf try using imp thing ever get

Answered by py170686
2

Answer:

Hope it helps you, please mark me as brainliest.

Explanation:

1- Variable can store only integer.

Therefore, IF A = 5 THEN

GOTO START

2- String that is to be printed should always be within " ".

Therefore, IF A>B THEN

PRINT "A IS GREATER"

3- Variable can store only integer and String that is to be printed should always be within " ", we cannot print A$ as string variable is not assigned any value.

Therefore, IF A = 10 THEN

PRINT "A"  

ELSE

PRINT "B"

4-  OTHERWISE statement cannot be used in qbasic.

There,fore IF Y$ = "KABIR" THEN

GOTO

ELSE GOTO B

5- To store a string we need string variable.

Therefore, IF X$ = "SUNDAY" THEN PRINT "HAVE FUN"

ELSE PRINT "FOLLOW THE ROUTINE"

Similar questions
Math, 8 months ago