write a c program to find biggest of 3 number without
relational operator?
Answer Posted / keerthana
include<stdio.h>
include<conio.h>
void main()
int a,b,c;
clrscr();
printf("enter the three values:")
scanf("%d%d%d",&a,&b,&c)
if(a>b&a>c);
{
printf("a is big")
}
else
if (b>a&b>c)
{
printf("b is big")
}
else
printf("c is big");
getch();
}
| Is This Answer Correct ? | 6 Yes | 19 No |
Post New Answer View All Answers
What is mean by data types in c?
What is static function in c?
In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.
What is the stack in c?
What does struct node * mean?
What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?
How can a program be made to print the name of a source file where an error occurs?
What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }
What is character constants?
What is new line escape sequence?
Why does not c have an exponentiation operator?
Is Exception handling possible in c language?
What is nested structure?
Explain about the constants which help in debugging?
What is difference between function overloading and operator overloading?