aftab rai


{ City } jaipur
< Country > india
* Profession * student
User No # 70803
Total Questions Posted # 0
Total Answers Posted # 1

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 3
Users Marked my Answers as Wrong # 10
Questions / { aftab rai }
Questions Answers Category Views Company eMail




Answers / { aftab rai }

Question { Infosys, 43485 }

how can i get the output
54321
4321
321
21
1

in c programming........???? pls help......


Answer

#include
#include
main()
{
int i,j,n;
printf("enter numbers of lines");
scanf("%d",&n);
for(i=0;i {
for(j=0;j<=i;j++)
{printf("%d",i+1+j);}
printf("\n");
}
getch();
}

Is This Answer Correct ?    3 Yes 10 No