Introduction to Looping with While Loop
Source code for this Tutorial
#include <stdio.h>
#include <stdlib.h>
int main()
{
int counter = 1;
while( counter <= 5 ){
printf("%d --> LearningLad Rocks\n",counter);
counter++;
}
printf("Programming is fun");
return 0;
}