Question { Infosys, 43462 }
how can i get the output
54321
4321
321
21
1
in c programming........???? pls help......
Answer
for more go to
http://answerwale.co.cc/?p=22#comment-18
#include
#include
int main()
{
int a=5;
int b=9;
while(a!=0){
for(int i=a;i>0;i--)
{
printf("%d",i);
}
printf("\n");
a--;
}
getch();
return 0;
}