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
4. How are the wattmeter readings equal in 2 Wattmeter method at UPF? Establish the condition mathematically?
What is meant by linearity?
If we use heat sinkble rechem make HT jointing kit for XLPE HT (6KV)termination at HT side of transformenr, Is it required to fill the HT termination with Epoxy compoud?
Give examples of linear circuits.
if any body have tyco electronics placement papers,please forward to my mail id kadhar.basha@gmail.com ,please as early as possible. thanks®ards kadhar basha
Respected sir, I am a student of ECE stream i need effectronics placement papers where i get those papers? can you please send me the information to my mail id? which is kamakshigudi@gmail.com
how can power amp inc the power without inc the voltage or current values?
what is transmission ?how transmission is done in nokia 3G?
checking procedure of i.g.b.yt & diode by multimeter...
Which Programer/Programing Software Should i use to program Mitsubishi FX Series PLC. PLZ DO ANSWER
I am studing Diploma Electronics from International Council for Management Studies-CHENNAI. Is it useful for getting engineering job within india or international ?
What is the difference diac and triac?
In automation process timer based automation is best or not? any other possible methods are available
What are the characteristics of ideal opamp?
Define what is the difference between active and passive filters?