#include<stdio.h>
int main()
{
int i;
for(i=10; i>0; i--)
{
printf("%d ", i);
}
return 0;
}
Output of the program:
10 9 8 7 6 5 4 3 2 1
int main()
{
int i;
for(i=10; i>0; i--)
{
printf("%d ", i);
}
return 0;
}
Output of the program:
10 9 8 7 6 5 4 3 2 1
No comments:
Post a Comment