Computer Science, asked by sagnikghorai2008, 3 months ago

Rectify the errors and rewrite the following program statements

(a )10 LET P = “A”
(c) 60 INPUT = M

Answers

Answered by anindyaadhikari13
3

Answer:

Corrected statements are as follows:-

  • 10 LET P$ = "A"
  • 60 INPUT M

Explanation:

  1. In QBASIC, variable names must end with a dollar sign ($) if the same variable stores any string.
  2. The INPUT statement is used to take input from the user. You cannot assign a variable of name "INPUT".
  3. Line numbers are alright. They must not be repeated.
Similar questions