In while do loop, expression is executed first? State whether the statement is True (or) False And Justify it
Answers
Answered by
3
here is yoyr answer
yes it's true that in while do loop expression is executed first.
hope it helps you
yes it's true that in while do loop expression is executed first.
hope it helps you
Answered by
2
In while do loop, expression is executed first is True Statement
Explanation:
- A while do loop is a control flow statement that admits the code to be executed time and again on the basis of a boolean condition in most programming languages.
- The condition/expression is checked, and if the condition/expression is valid, the code inside the block is performed. This will repeat until the condition/expression is incorrect.
- Because while the loop tests the condition/expression before the block is performed, the control mechanism is often referred to as the pre-test loop.
Similar questions