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
What are nested functions in c?
What are different types of pointers?
disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit
Explain what are the advantages and disadvantages of a heap?
What is a good data structure to use for storing lines of text?
Why main is used in c?
#include
Give basis knowledge of web designing ...
How do you declare a variable that will hold string values?
What is malloc and calloc?
How can you find out how much memory is available?
What is array in C
What are multibyte characters?
How can you determine the size of an allocated portion of memory?
What is the right type to use for boolean values in c? Is there a standard type?