create a C program that displays one z,two y's,three x's
until twenty six A's.
plzz answer i need it tomorrow.
Answer Posted / d14bbl0
#include<stdio.h>
int main(){
int i,count;
for (i=0;i<26;i++){
for (count = 0;count<i;count++){
printf("%c",(char)('Z'-i));
}
}
return 0;
}
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
For what purpose null pointer used?
Explain what is the benefit of using an enum rather than a #define constant?
Explain how can I avoid the abort, retry, fail messages?
what do the 'c' and 'v' in argc and argv stand for?
What is sizeof int in c?
How can I use a preprocessorif expression to ?
can we implement multi-threads in c.
What is the meaning of && in c?
struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
What are types of structure?
How can you restore a redirected standard stream?
What is the purpose of clrscr () printf () and getch ()?
Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?
What functions are used for dynamic memory allocation in c language?