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 is c value paradox explain?

1023


What is the difference between memcpy and memmove?

969


In C language what is a 'dangling pointer'?

1065


Why does everyone say not to use gets?

1030


Write a program to find the biggest number of three numbers in c?

1008


Why use int main instead of void main?

1073


What is getch?

1095


Where is c used?

1036


Explain what is the benefit of using #define to declare a constant?

1098


What does it mean when the linker says that _end is undefined?

1043


Differentiate between full, complete & perfect binary trees.

1055


What is the use of gets and puts?

976


What is the right type to use for boolean values in c? Is there a standard type?

971


Explain how can you avoid including a header more than once?

1045


c language interview questions & answer

1901