A B C D E F G F E D C B A
A B C D E F F E D C B A
A B C D E E D C B A
A B C D D C B A
A B C C B A
A B B A
A A

Answer Posted / karthikeyan.skcet

main()
{
int i,j,x,k,c=0;
for(i=71;i>=65;i--)
{
for(j=65; j<=i;j++)
printf("%5c",j);
if(i==70)
c=5;
for(x=1;x<=c;x++)
printf(" ");
if i==71)
for(k=i-1;k>=65;k--)
printf("%5c",k);
else
for( k=1;k>=65;k--)
print("%5c",k);
c= c+10;
printf("\n");
}
}

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between new and malloc functions?

581


Are the variables argc and argv are always local to main?

574


please send me the code for multiplying sparse matrix using c

1728


What is call by value in c?

559


Why are algorithms important in c program?

623






Explain what is the use of a semicolon (;) at the end of every program statement?

737


Why is c so popular?

650


Explain spaghetti programming?

684


application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above

608


How can I do peek and poke in c?

622


Hi can anyone tell what is a start up code?

1617


Implement bit Array in C.

678


Explain can you assign a different address to an array tag?

648


How do you determine whether to use a stream function or a low-level function?

650


Explain what is dynamic data structure?

648