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 / aswani

#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
clrscr();
printf("enter a,b,c values");
scanf("%d%d%d",&a,&b,&c);
if(a>b&&a>c&&b>c)
{
printf("biggest number is a ");
printf("middle value is b");
printf("smallest value is c");
}
else if("a>b&&a>c&&c>b");
{
printf("big no is a");
printf("mid no is c");
printf("sma no is b");
}
else if(b>a&&b>c&&a>c)
{
printf("big no is b");
printf("mid no is a");
printf("sma no is c");
}
else if(b>a&&b>c&&c>a)
{
printf("big no is b");
printf("mid no is c");
printf("sma no is a");
}
else if(c>a&&c>b&&b>a)
{
printf("big no is c");
printf("mid no is b");
printf("sma no is a");
}
else if(c>a&&c>b&&a>b)
{
printf("big no is c");
printf("mid no is a");
printf("sma no is b");
}
getch();
}

Is This Answer Correct ?    7 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which material is piezoelectric?

1069


What is transistor biasing?

1038


What is the output power of a BTS, in dbm &watts if trx=2+2+2... if trx=4+4+4..

2638


what is semi&full custom difference b/w these two?

2106


i done m.e communication system degree. i like to study new degree. which course is to choose. i selected m.sc applied psychology, m.sc e&i. is this suitable for me or say some suggestion to do some course.

2161


Define what is meant by operating point?

981


Why we need biasing for transistor, fet and mosfet?

1052


sir i need a few nots of electronics component cicuit plz send me some nots

1852


I would like to do my MS in US but i have a second class in B.tech with 56% where in i have good acedemics in 10th and inter .Is it posiible to get a US visa if i get good scores in GRE and toefl.I have work experience in an Internation call center for 1 year will they consider me for US visa as i have a gap of 2 yaers after my B.tech will the visa be succesful.What would be the answer if they ask me why you worked in callcenter after your B.tech and why opting for MS now when you didnt show interest in your B.tech background....

2243


what are the best institutes in hyd for groups

1948


i in 4th year electronics engineering. i ask about ideas for graduaring projects?

2119


What is a mosfet? How is it different from a jfet? What are its typical applications?

1175


What are the limitations of the karnaugh map?

1112


Explain the use of ranging and radar?

985


How bjt can be used as an amplifier.

1135