write a c program to find biggest of 3 number without
relational operator?
Answer Posted / rozzz
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int a,b,c;
printf("nt Enter the first number : ");
scanf("%d",&a);
printf("nt Enter the second number : ");
scanf("%d",&b);
printf("nt Enter the third number : ");
scanf("%d",&c);
if(a>b && a>c)
printf("nt The greatest number is : %d ",a);
if(b>a && b>c)
printf("nt The greatest number is : %d ",b);
if(c>a && c>b)
printf("nt The greatest number is : %d ",c);
getch();
}
| Is This Answer Correct ? | 5 Yes | 34 No |
Post New Answer View All Answers
Explain that why C is procedural?
What is structure data type in c?
What is header file definition?
Can we declare variable anywhere in c?
What are local variables c?
Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.
What is the difference between #include and #include 'file' ?
Why we use stdio h in c?
What are called c variables?
What is c value paradox explain?
Explain the difference between malloc() and calloc() function?
Why is not a pointer null after calling free?
Can we assign integer value to char in c?
Is c is a procedural language?
What are pragmas and what are they good for?