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
What are the types of i/o functions?
How to write c functions that modify head pointer of a linked list?
What are the storage classes in C?
How many levels of pointers can you have?
What is far pointer in c?
Why c is known as a mother language?
How can I generate floating-point random numbers?
Why are algorithms important in c program?
How are variables declared in c?
What is "Hungarian Notation"?
What are qualifiers?
Why static variable is used in c?
Explain what will the preprocessor do for a program?
Explain about C function prototype?
Describe the modifier in c?