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

write a c program to find biggest of 3 number without
relational operator?

Answer Posted / sidhartha

#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c,big;
clrscr();
printf("\n ENTER 3 VALUES : ");
scanf("%d%d%d",&a,&b,&c);
big=(a>b && a>c ? a:b>c ? b:c);
printf("\n THE BIGGEST NUMBER IS : %d",big);
getch();
]

Is This Answer Correct ?    22 Yes 63 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of i/o functions?

1418


How to write c functions that modify head pointer of a linked list?

1030


What are the storage classes in C?

1200


How many levels of pointers can you have?

1243


What is far pointer in c?

1388


Why c is known as a mother language?

1129


How can I generate floating-point random numbers?

1201


Why are algorithms important in c program?

1172


How are variables declared in c?

1149


What is "Hungarian Notation"?

1167


What are qualifiers?

1104


Why static variable is used in c?

1083


Explain what will the preprocessor do for a program?

1111


Explain about C function prototype?

1140


Describe the modifier in c?

1142