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 is the size of array float a(10)?
What is the difference between struct and typedef struct in c?
Why dont c comments nest?
Why void main is used in c?
How can I find out how much free space is available on disk?
Explain what is the difference between far and near ?
What is c basic?
What is pass by reference in c?
what is different between auto and local static? why should we use local static?
main() { printf("hello"); fork(); }
Explain what standard functions are available to manipulate strings?
Are the outer parentheses in return statements really optional?
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
How to Throw some light on the splay trees?
Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor