write a c programme to identify the biggest smallest and
middle value of the given three numbers
Answer Posted / santhoshi
#include<stdio.h>
main()
{
int a,b,c;
printf("Enter three values:");
scanf("%d %d %d",&a,&b,&c);
if(a>b&&a>c)
printf("biggest number is a ");
{
if(b>c)
printf("middle value is b");
else
printf("smallest value is c");
}
else if(b>a&&b>c)
printf("biggest number is b");
{
if(a>c)
printf("mid number is a");
else
printf("smallest number is c");
}
else(c>a&&c>b)
printf("biggest number is c");
{
if (b>a)
printf("mid no is b");
else
printf("smallest no is a");
}
getch();
}
| Is This Answer Correct ? | 6 Yes | 5 No |
Post New Answer View All Answers
What is transformer utilization factor?
explain how does frequency affect the size of smps?
7. Orange LED on RRI card is glowing – what is the indication?
I have applied for the post of Assistant Instrumentation Engneer in IOCL and need urgently IOCL sample paper please help me.
What is difference between 2 quadrant & 4 quadrant digital dc drive.
kindly,plesae tell me # the working of BTS # ITS CARDS SPECIFICATION # WORKING OF TRX,DUPLEXER,ASMA CARDS,FIFA # HOW WE ROUTE TRAFFICS # FLOW OF SMS,HOT CALLS,CALLS ETC
what is the diffeence between real time testing and GUI testing?
what is procedur of getting job in oracle for freshar engineer.
hai i need bhel model question paper for supervisor plz send this mail id bernatin@gmail.com
Where do we use am and fm?
we are operation 3 generator with module 5510 and electronic control module . two generator running system healthy and generator called another one generator running always generator called did not showing system healthy
What are the advantages of ac voltage controllers?
What is the difference between dcs & plc & scada?
i want model questions which will be asked in hindustan aeronautics online test for the post of managenent trainee
Impedence of a parallel resonant circuit at resonance is ?