write a c program to find biggest of 3 number without
relational operator?
Answer Posted / raheman(papi)khan
#include<stdio.h>
void main()
{
int a,b,c;
printf("enter the value of a b and c");
scanf("%d%d%d",%a,&b,&c);
int max=a;
if(b>max)
max=b;
if(c>max)
max=c;
printf("%d",max);
else
printf("equal");
}
Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
What is #ifdef ? What is its application?
What is array within structure?
Write a Program to find whether the given number or string is palindrome.
What is typeof in c?
What does & mean in scanf?
What is the description for syntax errors?
what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)
What is c variable?
Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;
What is assignment operator?
What is the use of define in c?
Can you add pointers together? Why would you?
Explain high-order and low-order bytes.
Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record
What is default value of global variable in c?