both conditional statements and iterative statements have a condition and statement how do they differ
Answers
Answered by
5
Answer:
The difference is the place where the condition is tested. The while tests the condition before executing any of the statements within the while loop. As against this the do-while tests the condition after having executed the statements within the loop.
Explanation:
Similar questions