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
How do you define structure?
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above
What is file in c preprocessor?
Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result
what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555
Write a program to reverse a string.
What is the use of a conditional inclusion statement in C?
Is c is a low level language?
Where static variables are stored in c?
How many levels of indirection in pointers can you have in a single declaration?
Can you define which header file to include at compile time?
Explain what does the function toupper() do?
How do I get an accurate error status return from system on ms-dos?
If null and 0 are equivalent as null pointer constants, which should I use?
How do we declare variables in c?