What are the repetitive and loop statements in C++? In programming, there are many tasks that we want to do repeatedly. For this we use the repetitive statements. Such statements help the users to write the program in compact way. Three types of repetitive statements are
For loop
while loop
do-while loop