plz solve........................?
Attachments:
Answers
Answered by
5
READ statement must always be used with a DATA statement.
READ statements assign variables to DATA statement values on a one-to-one basis.
READ statement variables may be numeric or string, and the values read must agree with the variable types specified. If they do not agree, a "Syntax error" results.
A single READ statement may access one or more DATA statements. They are accessed in order. Several READstatements may access the same DATA statement.
If the number of variables in list of variables exceeds the number of elements in the DATAstatement(s), an "Out of data" message is printed.
If the number of variables specified is fewer than the number of elements in the DATA statement(s), subsequent READ statements begin reading data at the first unread element. If there are no subsequent READ statements, the extra data is ignored.
To reread DATA statements from the start, use the RESTORE statement
READ statements assign variables to DATA statement values on a one-to-one basis.
READ statement variables may be numeric or string, and the values read must agree with the variable types specified. If they do not agree, a "Syntax error" results.
A single READ statement may access one or more DATA statements. They are accessed in order. Several READstatements may access the same DATA statement.
If the number of variables in list of variables exceeds the number of elements in the DATAstatement(s), an "Out of data" message is printed.
If the number of variables specified is fewer than the number of elements in the DATA statement(s), subsequent READ statements begin reading data at the first unread element. If there are no subsequent READ statements, the extra data is ignored.
To reread DATA statements from the start, use the RESTORE statement
salmanaffan:
BUT WHY
Answered by
1
A single READ statement may access one or more DATA statement. They are accessed in order.
Similar questions
Math,
6 months ago
Math,
6 months ago
Math,
6 months ago
Social Sciences,
1 year ago
History,
1 year ago
Math,
1 year ago
CBSE BOARD X,
1 year ago