Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays

2186


What is the difference between new and malloc functions?

1052


a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion

2715


What is %d used for?

992


What are the types of data files?

1149


Why is c used in embedded systems?

1059


What are global variables and how do you declare them?

1016


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

2695


Explain the concept and use of type void.

1060


int far *near * p; means

3505


Can you subtract pointers from each other? Why would you?

916


What is indirection in c?

1024


to find the closest pair

2288


Explain do array subscripts always start with zero?

1175


Explain the advantages of using macro in c language?

952