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
Why is it important to memset a variable, immediately after allocating memory to it ?
Add Two Numbers Without Using the Addition Operator
which type of aspect you want from the student.
Write a program to identify if a given binary tree is balanced or not.
List the difference between a While & Do While loops?
What is pointer and structure in c?
Can you return null in c?
Explain how do you generate random numbers in c?
write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34
A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor
What is a structure member in c?
Why we use void main in c?
Explain what are the advantages and disadvantages of a heap?
Ow can I insert or delete a line (or record) in the middle of a file?
How can you determine the size of an allocated portion of memory?