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
is below 2 ohms earth resistance is good for mobile tower
If the address bus id 20bits.then the memory space is ?
What is engineering?
What is transistor?
compare the delay in sending x-bit msg over k-hop path in ckt switched nw nin lightil loaded packet swithed nw. the ckt setup time is s per hop,the packet size is p bits n data rate is' b' bps under what condition does packet nw have lower delay?
what is a bleeder resistor?
Define modulation.
Define fan-in and fan-out?
What is rfid in developing stage?
A description of the fundamental elements that are required to make a digibox. I assume that they all record nowadays?
also send me aptitude question paper
The linearity error for a digital input is indicated by what???
I am studing Diploma Electronics from International Council for Management Studies-CHENNAI. Is it useful for getting engineering job within india or international ?
what are the Technical Specifications of D/240SC-T1
what questions are asked in this round for ece