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 how do you sort filenames in a directory?
How do you use a 'Local Block'?
What is #define in c?
What do the functions atoi(), itoa() and gcvt() do?
Explain how do you convert strings to numbers in c?
Iam a B.Tech graduate and completed my engineering in 2009, from 2005 to 2009 and after that i had done nothing.Now i want to do job and get into BPO field . Friends give me suggestions as what to say in interview... if they ask me that what would you had done ... these many years without doing job ??????? pls urgent
What are the complete rules for header file searching?
Differentiate Source Codes from Object Codes
What is a memory leak? How to avoid it?
Write a program to use switch statement.
Explain the use of keyword 'register' with respect to variables.
In C, What is the #line used for?
please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................
Why is event driven programming or procedural programming, better within specific scenario?
How is a pointer variable declared?