Snippet (for loop, while loop, do while loop)

How can I make a program using this instruction?

Snippet for :
a program that prints all numbers between 0-10.
using :
a. for loop
b. while loop
c. do while loop


Please help me. :( Thank you!
Check http://www.cplusplus.com/doc/tutorial/control/ for an introduction and examples.
Topic archived. No new replies allowed.