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
A channel has a bit rate of 4kbps and a propagation delay of 20msec. For what range of frame sizes does stop-and-wait give an efficiency of at least 50%
what is the difference between pthread and taskSpawn
sir i preparing J.E railway exam..so pl.send me solved paper.J.E...TELECOM ,SIGNAL,
how the embeded technology works?
How many types of Transmission cards are in Ultra BTS?
how server differentiate different clients ie if you r using http application server listen through port 80 if all client using same http application then how?
What are the disadvantages of the harmonics present in the inverter system?
i want model questions which will be asked in hindustan aeronautics online test for the post of managenent trainee
WT is technical detail and Function or working of these cards 1. POWER CARDS 2. BB2F 3. Trx 4. BOIA CARD 5. ALARM EXTENSION SYSTEM 6. RRI CARD 7. COMBINER 8. DUPLEXER
What principle does a q-meter operate?
WHEN +VE VOLTAGE ON THE GATE P-CHANNEL JFET IS INCRESED DRAN CRICUT WILL BE WHAT CONDITION
What is RX lev sub & Rx lev full
What is the equivalent of negative logic and gate?
What are the types of commutation?
What are the limitations of the basic differentiator circuit?