while loops examples in c etiketindeki yazılar
C / C++ »

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 »