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

Explain output of printf("Hello World"-'A'+'B'); ?

1500


What is the difference between the local variable and global variable in c?

967


Explain how can I open a file so that other programs can update it at the same time?

1121


Explain what is the difference between functions abs() and fabs()?

1187


What is a program flowchart and how does it help in writing a program?

1144


What are the advantages of c language?

1099


What are the primitive data types in c?

1082


How do you override a defined macro?

1273


What is spaghetti programming?

1142


What is the stack in c?

1157


What is quick sort in c?

1095


Can you explain what keyboard debouncing is, and where and why we us it? please give some examples

2203


What is the use of ?

1043


What is scanf_s in c?

1125


Why doesnt long int work?

1048