Print Numbers from 1 to 10(While Loop)

 #include<stdio.h>

int main()

{

    int i=1;

    while(i<=10)

    {

        printf("%d ",i);

        i++;

    }

}

Comments

Popular posts from this blog

Single Program Using All Automatic String Functions

C program for subtraction of two matrices (2D Arrays)

C program for Multiplication of Two matrices