Computer Science, asked by knbharath2004, 5 months ago

explain the working of while statement with a suitable example​

Answers

Answered by sarasultana15
3

Answer:

Example of while loop

step1: The variable count is initialized with value 1 and then it has been tested for the condition. step2: If the condition returns true then the statements inside the body of while loop are executed else control comes out of the loop.

Explanation:

HOPE IT IS HELPFUL FOR U..✌

Similar questions