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
Explain output of printf("Hello World"-'A'+'B'); ?
What is the difference between the local variable and global variable in c?
Explain how can I open a file so that other programs can update it at the same time?
Explain what is the difference between functions abs() and fabs()?
What is a program flowchart and how does it help in writing a program?
What are the advantages of c language?
What are the primitive data types in c?
How do you override a defined macro?
What is spaghetti programming?
What is the stack in c?
What is quick sort in c?
Can you explain what keyboard debouncing is, and where and why we us it? please give some examples
What is the use of ?
What is scanf_s in c?
Why doesnt long int work?