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 package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.
What are structures and unions? State differencves between them.
What is the purpose of the preprocessor directive error?
Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)
Explain two-dimensional array.
What is wrong with this initialization?
Why can't I perform arithmetic on a void* pointer?
What is property type c?
What is the heap in c?
When should a type cast be used?
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above
what type of questions arrive in interview over c programming?
Is it possible to have a function as a parameter in another function?
what is the structure pointer?
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.