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
What is the difference between call by value and call by reference in c?
How many bytes are occupied by near, far and huge pointers (dos)?
Differentiate between ordinary variable and pointer in c.
What is structure in c language?
Explain how can I convert a number to a string?
List the difference between a "copy constructor" and a "assignment operator"?
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);
Explain what does it mean when a pointer is used in an if statement?
How would you rename a function in C?
Why is c called "mother" language?
Describe static function with its usage?
What is the best way of making my program efficient?
How can variables be characterized?
What is difference between %d and %i in c?
What is the explanation for modular programming?