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
Difference between malloc() and calloc() function?
What is a rvalue?
What is scope and lifetime of a variable in c?
What is the difference between printf and scanf in c?
Where in memory are my variables stored?
What is #include stdlib h?
Is a pointer a kind of array?
What does 3 periods mean in texting?
Can we change the value of static variable in c?
How to write a code for reverse of string without using string functions?
WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.
Why isn't it being handled properly?
What is static volatile in c?
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above
Is c++ based on c?