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 / zishan ahmad

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

Is This Answer Correct ?    1 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a C program to count the number of email on text

1871


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

1161


What are # preprocessor operator in c?

1061


How can variables be characterized?

2143


Is fortran still used in 2018?

998


What is difference between && and & in c?

1060


Is javascript written in c?

1034


code for replace tabs with equivalent number of blanks

2108


What is #include stdlib h?

1073


Differentiate between a for loop and a while loop? What are it uses?

1147


Explain what is meant by 'bit masking'?

1144


why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above

1089


What is the advantage of a random access file?

1149


The process of repeatedly running a set of computer instructions until some condition is specifed a) condition b) sequential condition c) global d) iteration

1056


.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }

2527