1.

Explain working of do while with an example​

Answer»

Answer:

The do while loop checks the condition at the END of the loop. ... The do while loop is an EXIT controlled loop, where even if the test condition is FALSE, the loop body will be executed at least once. An example of such a scenario would be when you want to exit your program DEPENDING on the USER input.

Explanation:

I hope you get help.



Discussion

No Comment Found