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
Why are all header files not declared in every c program?
What is the purpose of void in c?
in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none
Why we use void main in c?
What is the process to generate random numbers in c programming language?
Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58
What is a function in c?
Define and explain about ! Operator?
How do you sort filenames in a directory?
What is the acronym for ansi?
How can I copy just a portion of a string?
If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?
How does placing some code lines between the comment symbol help in debugging the code?
Why is python slower than c?
When should we use pointers in a c program?