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

What is transformer utilization factor?

1093


explain how does frequency affect the size of smps?

3102


7. Orange LED on RRI card is glowing – what is the indication?

2266


I have applied for the post of Assistant Instrumentation Engneer in IOCL and need urgently IOCL sample paper please help me.

2067


What is difference between 2 quadrant & 4 quadrant digital dc drive.

2911


kindly,plesae tell me # the working of BTS # ITS CARDS SPECIFICATION # WORKING OF TRX,DUPLEXER,ASMA CARDS,FIFA # HOW WE ROUTE TRAFFICS # FLOW OF SMS,HOT CALLS,CALLS ETC

1989


what is the diffeence between real time testing and GUI testing?

2182


what is procedur of getting job in oracle for freshar engineer.

1890


hai i need bhel model question paper for supervisor plz send this mail id bernatin@gmail.com

1928


Where do we use am and fm?

1027


we are operation 3 generator with module 5510 and electronic control module . two generator running system healthy and generator called another one generator running always generator called did not showing system healthy

1855


What are the advantages of ac voltage controllers?

1266


What is the difference between dcs & plc & scada?

1130


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

2359


Impedence of a parallel resonant circuit at resonance is ?

1144