Anasayfa » using counter in while loops

using counter in while loops etiketindeki yazılar

C / C++ »

[18 Ara 2010 | Yorum Yok | 1.748 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.

Devamını Oku »