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...

accept character from keyboard untill the user presses the
enter key.If the user enters any character other than upper
case(A-Z)alphabets program should stop taking any input

Answer Posted / shrikantauti

use if condition
if(ch>=65 &&ch<=90)
{
scanf("%c",&ch);
}
else
{
break;
}

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an expression?

1060


Whats s or c mean?

1029


How can I discover how many arguments a function was actually called with?

1070


Explain what will the preprocessor do for a program?

1072


Why is c not oop?

980


how to find binary of number?

4456


Why do we use return in c?

1007


Combinations of fibanocci prime series

1618


What is array in C

1168


Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?

3523


What is logical error?

1128


What is typedef example?

1193


When is the “void” keyword used in a function?

1507


Where can I get an ansi-compatible lint?

1151


What are the advantages of union?

1071