Answer Posted / deepshree sinha
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
printf("enter any three numbers");
scanf("%d %d %d",&a,&b,&c);
if(a>b)
{
if(a>c)
printf("the biggest no.=%d",a);
else
printf("the biggest no.=%d',c);
}
else
{
if(b>c)
printf("the biggest no.=%d",b);
else
printf("the biggest no.=%d",c);
}
getch();
}
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?
What are structural members?
What are the advantages and disadvantages of a heap?
which is an algorithm for sorting in a growing Lexicographic order
Explain 'bus error'?
Does c have an equivalent to pascals with statement?
Can you pass an entire structure to functions?
What is a stream in c programming?
Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?
Explain union.
What is c++ used for today?
What are the types of macro formats?
the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above
What does typedef struct mean?
write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3