Computer Science, asked by suneetashiv010174, 19 days ago

Write the syntax for each of the following loops.​

Attachments:

Answers

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