In the old days - honest man - wife - pet dog - kitchen - garden – bark - spade - gold pieces – treasure wealthy people - envious - Mr.Dog - sniff – seized the dog - killed him – grave - pine tree - mortar borrow the mortar – burnt it - withered trees – begged - cherry tree – dead trees – flowers ashes - prince's palace – retainers - distress – virtuous lives.
Answers
Answered by
0
Explanation:
For example, let's say we want to show a message 100 times. Then instead of writing the print statement 100 times, we can use a loop.
That was just a simple example; we can achieve much more efficiency and sophistication in our programs by making effective use of loops.
There are 3 types of loops in C++.
for loop
while loop
do...while loop
In the previous tutorial, we learned about the C++ for loop. Here, we are going to learn about while and do...while loops.
Similar questions