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 pointers? What are stacks and queues?
Method Overloading exist in c ?
how to build a exercise findig min number of e heap with list imlemented?
Why is %d used in c?
Write the program for displaying the ten most frequent words in a file such that your program should be efficient in all complexity measures.
What is 02d in c?
Write a function in c to find the area of a triangle whose length of three sides is given.
What is static memory allocation?
I heard that you have to include stdio.h before calling printf. Why?
write a c prog for removing duplicate character from an array and sorting remaining elements using a single array
C,c++, Java is all are structural oriented or procedure oriented language..?
Are there any problems with performing mathematical operations on different variable types?