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 / shrikantauti
use if condition
if(ch>=65 &&ch<=90)
{
scanf("%c",&ch);
}
else
{
break;
}
| Is This Answer Correct ? | 1 Yes | 0 No |
What is wrong with this program statement? void = 10;
What is scope of variable in c?
WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..
What is main function in c?
Input is "Jack and jill went up a hill" To print output is 1-letter word(s)-1 2-letter words-1 3-letter words-1 4-letter words-4
What is C language Terminator?
write program on arrays
Explain demand paging.
In a switch statement, explain what will happen if a break statement is omitted?
how to find the largest element of array without using relational operater?
write a c program to print a given number as odd or even without using loop statements,(no if ,while etc)
please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code