Print 1 to 10 using While Loop

#include<stdio.h>
#include<conio.h>
int main()
{
int x=1;
while(x<=10)
{
printf("\n%d",x);
x++;
}
getch();
return 0;
}

  

Comments

Popular posts from this blog

Write a Program to Add two 3x3 Matrix using C

C program for Unit Conversion

Write a Program to Add two 5x5 Matrix using C