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
If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above
What is the difference between void main and main in c?
How to draw the flowchart for structure programs?
What is the use of sizeof () in c?
write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.
What is non linear data structure in c?
What is the difference between text and binary i/o?
Explain what is meant by high-order and low-order bytes?
What is a protocol in c?
Are the expressions * ptr ++ and ++ * ptr same?
Explain about the constants which help in debugging?
There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?
What are multidimensional arrays?
What does volatile do?
What is variable and explain rules to declare variable in c?