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

Is fan out of ECL logic family is high?give reason for yes or no?

2296


Define cmrr of an opamp?

1233


Describe the principle of step-up chopper. Derive an expression for the average output voltage in terms of input dc voltage & duty cycle?

1155


what is difference between hybrid model and h parameter model and what is technical use of h parameter model

3945


Define what is meant by operating point?

973


What is effective communication?

2312


3. What is the command to unlock the BTS

2171


im ranjith having 63%in my b tech with 25 backlogs,cleard all .. im having 1100 in gre and 90 in my toefl can i get visa? im planning spring 2011 pls help me i applied for i20 im applying 4 universities pls help me can i get visa? shall i prefer canada if i could not get visa?

2102


Define what are the main purposes for which a common-collector amplifier may be used?

1111


What is the height of ESMA card?

2189


I have an instrument that involves an electronic circuit. In circuit there is a PTC B754 (having operating voltage 230V). PTC is already damaged and same PTC is not available in market. Now what can i do to solve that problem.

2593


Tell me why the shape of op-amp is triangular not other shape?

3568


draw the interface diagram of 8085 microprocessor having input ports at 23H, 2FH, EFH, and output ports at 44H, 2FH, EFH, and FFH using NAND gates only.

1799


Why opamp called operational amplifier?

1062


proff of ERLANG B formula???

2104