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

What is the turn-off time for converter grade scrs and inverter grade scrs?

1054


Differentiate between intrinsic semiconductors and intrinsic semiconductors?

950


can i get all books inrpidshare

1841


what is integration,optimization of gsm corenetwork in practice?

2076


what is potetial,voltage,potential difference

1946


What is meant by a bit?

916


What are the different types of communications?

1002


The loss of precision in quantity is called A Down time B Delay C Unavoidable delay D None of these

1947


Why an ordinary junction transistor is called bipolar?

1083


Explain why bjt is called current control device?

894


Is a hole a fundamental particle in an atom?

970


What is the difference between E1T1 Card & RRI & FIU.

3020


1.what is the difference between snr and cnr?why cnr is used in satellite communication? 2.prove that power spectral density of gaussian noise os n/2

3186


please send me earlier question papers of rrb je(signal)at my id arvind44444@gmail.com

2135


What is circuit switching?

949