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
What happens if a header file is included twice?
What is sizeof array in c?
What are the advantages of using new operator as compared to the function malloc ()?
Why c is a procedural language?
How can I make it pause before closing the program output window?
How to establish connection with oracle database software from c language?
Can we increase size of array in c?
What is advantage of pointer in c?
What are the advantages of using Unions?
What is pass by reference in c?
Which is the best website to learn c programming?
Explain high-order bytes.
How can you tell whether a program was compiled using c versus c++?
What is bss in c?
What is the use of #include in c?