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

include<stdio.h>
include<conio.h>
void main()
int a,b,c;
clrscr();
printf("enter the three values:")
scanf("%d%d%d",&a,&b,&c)
if(a>b&a>c);
{
printf("a is big")
}
else
if (b>a&b>c)
{
printf("b is big")
}
else
printf("c is big");
getch();
}

Is This Answer Correct ?    6 Yes 19 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the format specifier for printing a pointer value?

969


When should you not use a type cast?

1069


Explain null pointer.

1039


What is the scope of static variable in c?

943


Why are all header files not declared in every c program?

1041


Why c is a procedural language?

1006


How does #define work?

1009


How can I determine whether a machines byte order is big-endian or little-endian?

999


How will you print TATA alone from TATA POWER using string copy and concate commands in C?

1324


What is a ternary operator in c?

1055


What is difference between scanf and gets?

1166


What are structural members?

953


What is the modulus operator?

1148


What are categories used for in c?

1034


Why can't I perform arithmetic on a void* pointer?

1043