how to know where to use for loop, while loop in c programming code example
Example: WHILE loop in c
while( a < 20 ) {
printf("value of a: %d\n", a);
a++;
}
while( a < 20 ) {
printf("value of a: %d\n", a);
a++;
}