write a c programme to identify the biggest smallest and
middle value of the given three numbers
Answer Posted / santhoshi
#include<stdio.h>
main()
{
int a,b,c;
printf("Enter three values:");
scanf("%d %d %d",&a,&b,&c);
if(a>b&&a>c)
printf("biggest number is a ");
{
if(b>c)
printf("middle value is b");
else
printf("smallest value is c");
}
else if(b>a&&b>c)
printf("biggest number is b");
{
if(a>c)
printf("mid number is a");
else
printf("smallest number is c");
}
else(c>a&&c>b)
printf("biggest number is c");
{
if (b>a)
printf("mid no is b");
else
printf("smallest no is a");
}
getch();
}
Is This Answer Correct ? | 6 Yes | 5 No |
Post New Answer View All Answers
State the differences between fir and iir filters?
What is meant by impedance diagram?
Explain what is associate law?
i am an i.t.i holder in electronics i need those questions and their which have been asked in aircraft company for the post of technician
What is a rectifier?
What are the essential components of a crt?
What are the applications of demultiplexer?
What is barkhausen criteria?
i am going to visa second time i was rejected on 15-07-08 and on 14-08-08 i am attending visa again with another university.so what would be the good answer if they asks that why you have changed the university?
Calculator battery power goes down to 1V from 1.6V in 15 days... What could be the reason?
8. How many E1s are supported by one E1 card in BTS
The linearity error for a digital input is indicated by what???
wat you mean by harmonics? why you r using isolation transformer in digital ups or in normal means igbt ups?
What is the basis for classifying a material as a conductor, semiconductor, or a dielectric?
what Rx and TX power good RF conditions.