Rectify the errors and rewrite the following program statements
(a )10 LET P = “A”
(c) 60 INPUT = M
Answers
Answered by
3
Answer:
Corrected statements are as follows:-
- 10 LET P$ = "A"
- 60 INPUT M
Explanation:
- In QBASIC, variable names must end with a dollar sign ($) if the same variable stores any string.
- The INPUT statement is used to take input from the user. You cannot assign a variable of name "INPUT".
- Line numbers are alright. They must not be repeated.
Similar questions
Social Sciences,
1 month ago
Business Studies,
1 month ago
Math,
3 months ago
English,
3 months ago
Math,
9 months ago
Physics,
9 months ago
Business Studies,
9 months ago