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 is the size of array float a(10)?

1091


What is the difference between struct and typedef struct in c?

1082


Why dont c comments nest?

999


Why void main is used in c?

999


How can I find out how much free space is available on disk?

1013


Explain what is the difference between far and near ?

1047


What is c basic?

1124


What is pass by reference in c?

1146


what is different between auto and local static? why should we use local static?

1076


main() { printf("hello"); fork(); }

1147


Explain what standard functions are available to manipulate strings?

1024


Are the outer parentheses in return statements really optional?

1049


FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.

1705


How to Throw some light on the splay trees?

1004


Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor

3474