#include<stdio.h>
{
void main()
{
int i,num=0,n;
clrscr();
printf("Enter the limit : upto ");
scanf("%d",&n);
for(i=0;i<n;i++)
{
num+=1;
printf("%d\t",num);
}
getch();
}
This blog is mainly developed for individuals,who were interested in programming using C,C++,java and SQL.
0 comments:
Post a Comment