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...

find largest of 3 no

Answer Posted / deepshree sinha

#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
printf("enter any three numbers");
scanf("%d %d %d",&a,&b,&c);
if(a>b)
{
if(a>c)
printf("the biggest no.=%d",a);
else
printf("the biggest no.=%d',c);
}
else
{
if(b>c)
printf("the biggest no.=%d",b);
else
printf("the biggest no.=%d",c);
}
getch();
}

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above

1050


What is the difference between void main and main in c?

1142


How to draw the flowchart for structure programs?

9325


What is the use of sizeof () in c?

1034


write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.

2508


What is non linear data structure in c?

1008


What is the difference between text and binary i/o?

1041


Explain what is meant by high-order and low-order bytes?

1038


What is a protocol in c?

983


Are the expressions * ptr ++ and ++ * ptr same?

1132


Explain about the constants which help in debugging?

1361


There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?

1282


What are multidimensional arrays?

1108


What does volatile do?

974


What is variable and explain rules to declare variable in c?

1074