What is a while loop program in C to generate numbers from 0<25? code example
Example: What is a while loop program in C to generate numbers from 0<25?
#include <stdio.h>
int main () {
/* local variable definition */
int a = 0;
/* while loop execution */
while( a < 25 ) {
printf("value of a: %d\n", a);
a++;
}
return 0;
}