Write the syntax for each of the following loops.
Attachments:
Answers
Answered by
0
Answer:
a) Syntax of for next loop:
For counter [ As datatype ] = start To end [ Step step ]
[ statements ]
[ Continue For ]
[ statements ]
[ Exit For ]
[ statements ]
Next [ counter ]
b) Syntax of do while loop:
do {
statements
} while (expression);
c) Syntax of do until loop:
Do Until condition
[statement 1]
[statement 2]
...
[statement n]
[Exit Do]
[statement 1]
[statement 2]
...
[statement n]
Loop
d) Syntax of while wend loop:
While condition(s)
[statements 1]
[statements 2]
...
[statements n]
Wend
Explanation:
Hope the answer is helpful pls mark me brainliest
Similar questions
Math,
9 days ago
India Languages,
9 days ago
Business Studies,
19 days ago
Math,
19 days ago
Math,
9 months ago
Economy,
9 months ago
Physics,
9 months ago