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 / subrat

#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c,max;
printf("enter any three numbers");
scanf("%d %d %d",&a,&b,&c);
max=a;
if(b>max)
max=b;
if (c>max)
max=c;
printf("largest of %d %d %d is %d", a,b,c,max);
}

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does & mean in scanf?

1095


Explain what header files do I need in order to define the standard library functions I use?

1157


What is merge sort in c?

1035


What is ## preprocessor operator in c?

1065


Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.

4191


Is exit(status) truly equivalent to returning the same status from main?

1050


What is the use of bitwise operator?

1109


provide an example of the Group by clause, when would you use this clause

2177


Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.

3673


What is the difference between variable declaration and variable definition in c?

1043


Can 'this' pointer by used in the constructor?

1079


What is the use of ?

1024


What is function definition in c?

1067


what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?

2360


What is main () in c language?

1118