Computer Science, asked by kkteckhnicalhindi737, 4 months ago

What is a while loop? Give example and syntax?​

Answers

Answered by rajeaiswarya907
2

Explanation:

Syntax. The syntax of a while loop in C programming language is − while(condition) { statement(s); } Here, statement(s) may be a single statement or a block of statements. The condition may be any expression, and true is any nonzero value. The loop iterates while the condition is true.

Answered by areenofficial12331
3

Answer:

Syntax. The syntaxof a while loop in C programming language is −while(condition) {statement(s); } Here,statement(s) may be a singlestatement or a block of statements. The condition may be any expression, and true is any nonzero value. Theloop iterates while the condition is true.

Explanation:

hop its help you☺☺

Similar questions