#include<stdio.h>
#include<math.h>
void main()
{
int n,i;
clrscr();
printf("enter the limit \n");
scanf("%d",&n);
for(i=n;i>=0;i--)
printf("%d\n",i);
getch();
}
#include<math.h>
void main()
{
int n,i;
clrscr();
printf("enter the limit \n");
scanf("%d",&n);
for(i=n;i>=0;i--)
printf("%d\n",i);
getch();
}
No comments:
Post a Comment