WAP to find that given no is small or capital
Answers were Sorted based on User's Feedback
Answer / pinky
main()
{
char ch;
scanf("%c",&ch);
if(ch>64&&ch<91)
printf("capital");
else
printf("small");
}
in scanf fn. it must be '%c' otherwise the ans wl be 'small'
always (check it)
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / naresh.s
main()
{
char ch;
scanf("%d",&ch);
if(ch>64&&ch<91)
printf("capital");
else
printf("small");
}
| Is This Answer Correct ? | 2 Yes | 2 No |
What are the types of macro formats?
Can anyone help me with this please? Need to print the below values.. Thanks 1 1 2 1 2 3 1 2 3 4
Write a Program to accept different goods with the number, price and date of purchase and display them
What is f'n in math?
how to exchnage bits in a byte b7<-->b0 b6<-->b1 b5<-->b2 b4<-->b3 please mail me the code if any one know to rajeshmb4u@gmail.com
write a c program to find largest of three numbers using simple if only for one time.
Is array name a pointer?
Please write the area of a RIGHT ANGLED TRIANGLE.
can we change the default calling convention in c if yes than how.........?
how can i get output the following... 5 4 3 2 1 4 3 2 1 3 2 1 2 1 1 and 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 plz plz...
Discuss similarities and differences of Multiprogramming OS and multiprocessing OS?
What is meant by global static? why we have to use static variable instead of Global variable