write a program to produce the following output;
ABCDEFGFEDCBA
ABCDEF FEDCBA
ABCDE EDCBA
ABCD DCBA
ABC CBA
AB BA
A A
Answer Posted / smar tass
#include <stdio.h>
int main (void) {
printf('ABCDEFGFEDCBA\nABCDEF FEDCBA\nABCDE EDCBA\nABCD DCBA\nABC CBA\nAB BA\nA A\n');
return 0;
}
Is This Answer Correct ? | 8 Yes | 14 No |
Post New Answer View All Answers
How can you find the day of the week given the date?
What is zero based addressing?
Explain how can you determine the size of an allocated portion of memory?
What is the difference between array and structure in c?
Is it cc or c in a letter?
a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.
What is file in c preprocessor?
Why is sprintf unsafe?
What are the back slash character constants or escape sequence charactersavailable in c?
Is main is user defined function?
Is return a keyword in c?
What are terms in math?
What is a stream in c programming?
What is the general form of #line preprocessor?
Are negative numbers true in c?