Computer Science, asked by cotton11, 2 days ago

Write down Syntax of the following:
1) GOTO Statement:
2) INPUT Statement:
3) READ DATA Statement:

Answers

Answered by tejmistry137
1

Answer:

1) GOTO Statement: The goto statement is a jump statement which is sometimes also referred to as unconditional jump statement. The goto statement can be used to jump from anywhere to anywhere within a function. Syntax: ... In the above syntax, the first line tells the compiler to go to or jump to the statement marked as a label.

2) INPUT Statement:The INPUT statement lets the user type ahead when entering a response. Users familiar with a sequence of prompts can save time by entering data at their own speed, not waiting for all prompts to be displayed. Responses to a sequence of INPUT prompts are accepted in the order in which they are entered.

3) READ DATA Statement:A 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.

Similar questions