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 / sujata
int Totchar_count =26;
int cur_postion= 26 ;
int diff=0;
char cur_char ='Z';
do
{
diff = (Totchar_count+1) -cur_postion;
while(diff >=1)
{
printf("%c",&c);
diff--;
}
cur_position--;
cur_char--;
}while(c !='Z'-Totchar_count);
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
What is the difference between new and malloc functions?
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
What is %d used for?
What are the types of data files?
Why is c used in embedded systems?
What are global variables and how do you declare them?
Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings
Explain the concept and use of type void.
int far *near * p; means
Can you subtract pointers from each other? Why would you?
What is indirection in c?
to find the closest pair
Explain do array subscripts always start with zero?
Explain the advantages of using macro in c language?