Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

4. How are the wattmeter readings equal in 2 Wattmeter method at UPF? Establish the condition mathematically?

1370


What is meant by linearity?

1157


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?

1977


Give examples of linear circuits.

1045


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

3238


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

1491


how can power amp inc the power without inc the voltage or current values?

2104


what is transmission ?how transmission is done in nokia 3G?

1880


checking procedure of i.g.b.yt & diode by multimeter...

1966


Which Programer/Programing Software Should i use to program Mitsubishi FX Series PLC. PLZ DO ANSWER

1801


I am studing Diploma Electronics from International Council for Management Studies-CHENNAI. Is it useful for getting engineering job within india or international ?

1929


What is the difference diac and triac?

1065


In automation process timer based automation is best or not? any other possible methods are available

2074


What are the characteristics of ideal opamp?

1042


Define what is the difference between active and passive filters?

1907