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 distance maintained between the power and data cables with respect to the KVA .... plss give me the formula

1928


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

1111


Explain in wave guides tem wave propagation is not exit, give the physical interpretation?

960


The server is already having the list of IP addresses of all its authorized clients & if any client is requesting the server to do a task, it is sending its IP address(encapsulated in the packet) to the server.The server can easily match that IP address with that on its list and check if it's authorized client or not, then why we need inverse domain...........

1789


Why do we need digitisation?

2981


What is step up cyclo-converter ?

1142


Write two characteristics of combinational circuits.

1039


what does tru, dtru, cdu do and what is inside of them. Please ans

2992


what are software interrupts present in 8051 Microcontroller? Only Software interrupts//////

2804


What is an instrumentation amplifier?

983


Hi...........i want to know the pattern for written test for the post of Jr.Executive(Electronics) in AAI(Airports Authority Of India).Kindly send me the same.My email id Is zeenaz.786@gmail.com.

2133


what is the difference between delegation and containership?

3760


please can any one send me BHEL ECE sample papers

2206


Explain rf?

1067


What is Response time of a thermocouple and a PT 100

2122