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
what is the distance maintained between the power and data cables with respect to the KVA .... plss give me the formula
Define what are the main purposes for which a common-collector amplifier may be used?
Explain in wave guides tem wave propagation is not exit, give the physical interpretation?
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...........
Why do we need digitisation?
What is step up cyclo-converter ?
Write two characteristics of combinational circuits.
what does tru, dtru, cdu do and what is inside of them. Please ans
what are software interrupts present in 8051 Microcontroller? Only Software interrupts//////
What is an instrumentation amplifier?
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.
what is the difference between delegation and containership?
please can any one send me BHEL ECE sample papers
Explain rf?
What is Response time of a thermocouple and a PT 100