Homepage » while loops examples in c

Articles for while loops examples in c

C / C++ »

[18 Dec 2010 | No comments | 1,756 views ]
C / C++ Courses ? 9 (While Loops)

While Loops

*Counter Controlled Loops:

Steps that we should follow:

? 1- Declare and initialize a counter

? 2-Use the counter in the condition part of while

? 3-Change the value of the counter inside the loop (increment or decrement)

¤ These 3 steps must be used in our program, else it means there is something wrong.

Read the rest.. »