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 / manish soni bca 3rd year jaipu

#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c,max;
printf("Enter any 3 no");
scanf("%d %d %d",&a,&b,&c);
max=a>b?(a>c?a:c):(b>c?b:c);
printf("%d",max);
getch();
}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between functions abs() and fabs()?

1133


Write a program to reverse a given number in c language?

1095


Is c is a low level language?

1120


Why ca not I do something like this?

1001


what are the 10 different models of writing an addition program in C language?

1881


Explain how are 16- and 32-bit numbers stored?

1245


What are the types of assignment statements?

1048


Are pointers integers in c?

1057


The number of measuring units from an arbitarary starting point in a record,area,or control block to some other point a) recording pointer b) offset c) branching d) none

1233


Explain how can I convert a number to a string?

1142


Why isnt there a numbered, multi-level break statement to break out

1030


What is a pointer in c?

1529


Can we access the array using a pointer in c language?

1031


void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }

1707


Can you add pointers together? Why would you?

1109