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

#include<stdio.h>
#include<conio.h>
void main()
int a,b,c;
clrscr();
printf("enter any three no.s");
scanf("%d%d%d",&a,&b&c);
if(a>b&&a>c);
{
printf("a is biggest");
}
else if(b>a&&b>c)
{
printf("b is biggest");
}
else
printf("c is biggest");
getch();
}

Is This Answer Correct ?    52 Yes 105 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between call by value and call by reference in c?

1212


How many bytes are occupied by near, far and huge pointers (dos)?

1219


Differentiate between ordinary variable and pointer in c.

1253


What is structure in c language?

1237


Explain how can I convert a number to a string?

1207


List the difference between a "copy constructor" and a "assignment operator"?

1068


What will the code below print when it is executed?   int x = 3, y = 4;         if (x = 4)                 y = 5;         else                 y = 2;         printf ("x=%d, y=%d ",x,y);

1946


Explain what does it mean when a pointer is used in an if statement?

1108


How would you rename a function in C?

1091


Why is c called "mother" language?

1333


Describe static function with its usage?

1274


What is the best way of making my program efficient?

1083


How can variables be characterized?

2238


What is difference between %d and %i in c?

1307


What is the explanation for modular programming?

1274