Display Numbers from 1 to 5
This is program of while loop in which we are going to display Numbers from 1 to 5  in C Programming.

#include <stdio.h>
int main()
{
    int i = 1;
    printf("Here are the numbers :\n");
    while (i <= 5)
    {
        printf("%d \n", i);
        i++;
    }
    return 0;
}
//......Coded by ARADHANA MISHRA


#ENJOY CODING

Post a Comment

FOR ANY DOUBTS AND ERRORS FEEL FREE TO ASK. YOUR DOUBTS WILL BE ADDRESSED ASAP

Previous Post Next Post