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

A channel has a bit rate of 4kbps and a propagation delay of 20msec. For what range of frame sizes does stop-and-wait give an efficiency of at least 50%

3617


what is the difference between pthread and taskSpawn

2600


sir i preparing J.E railway exam..so pl.send me solved paper.J.E...TELECOM ,SIGNAL,

2924


how the embeded technology works?

1906


How many types of Transmission cards are in Ultra BTS?

2206


how server differentiate different clients ie if you r using http application server listen through port 80 if all client using same http application then how?

2164


What are the disadvantages of the harmonics present in the inverter system?

1208


i want model questions which will be asked in hindustan aeronautics online test for the post of managenent trainee

2378


WT is technical detail and Function or working of these cards 1. POWER CARDS 2. BB2F 3. Trx 4. BOIA CARD 5. ALARM EXTENSION SYSTEM 6. RRI CARD 7. COMBINER 8. DUPLEXER

2098


What principle does a q-meter operate?

1104


WHEN +VE VOLTAGE ON THE GATE P-CHANNEL JFET IS INCRESED DRAN CRICUT WILL BE WHAT CONDITION

1943


What is RX lev sub & Rx lev full

3198


What is the equivalent of negative logic and gate?

931


What are the types of commutation?

1046


What are the limitations of the basic differentiator circuit?

1293