Computer Science, asked by salmanaffan, 11 months ago

plz solve........................?

Attachments:

Answers

Answered by mitali16s
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


salmanaffan: BUT WHY
mitali16s: more tomorrow we will talk
mitali16s: ok
mitali16s: bye
salmanaffan: BYEEEEEE ♡♡♡
salmanaffan: Good night take care ♤♤♤♤
mitali16s: you too
mitali16s: bye
mitali16s: hi
mitali16s: what's up
Answered by khatri13k
1
A single READ statement may access one or more DATA statement. They are accessed in order.
Similar questions