[4x2=8]
What will be the output of the following program?
1.10 LET N=3
2. 10
LET X=50
20
30 LET X=X-N
30
LET N=N-1
40
50 PRINT "X=" X
50
60 IF NO GOTO 30
60
70 END
A=2*1-1
PRINT A
1=1+1
IF I<4 THEN 20
END
[1x5=5]
Detect errors in the following statements:
11. GOTO 30 IF N=0
2. PRINT I AM A STUDENT
3. DATA 3+4.5+7.
-4. INPUT A.B:C
5. PRINT AREANA
Answers
Answered by
0
Answer:
Explanation:
[4x2=8]
What will be the output of the following program?
1.10 LET N=3
2. 10
LET X=50
20
30 LET X=X-N
30
LET N=N-1
40
50 PRINT "X=" X
50
60 IF NO GOTO 30
60
70 END
A=2*1-1
PRINT A
1=1+1
IF I<4 THEN 20
END
[1x5=5]
Detect errors in the following statements:
11. GOTO 30 IF N=0
2. PRINT I AM A STUDENT
3. DATA 3+4.5+7.
-4. INPUT A.B:C
5. PRINT AREANA
Answer:
Explanation:
Similar questions