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 is the difference between new and malloc functions?
Are the variables argc and argv are always local to main?
please send me the code for multiplying sparse matrix using c
What is call by value in c?
Why are algorithms important in c program?
Explain what is the use of a semicolon (;) at the end of every program statement?
Why is c so popular?
Explain spaghetti programming?
application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above
How can I do peek and poke in c?
Hi can anyone tell what is a start up code?
Implement bit Array in C.
Explain can you assign a different address to an array tag?
How do you determine whether to use a stream function or a low-level function?
Explain what is dynamic data structure?