Print 1 to 10 using For Loop

#include<stdio.h>
int main()
{
int x=1;

for(x=1; x<=10; x++)
printf("\n%d",x);

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