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
Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
What is the general form of function in c?
What is the heap in c?
Write a C program to help a HiFi’s Restaurant automate its breakfast billing system. Your assignment should implement the following items: a. Show the customer the different breakfast items offered by the HiFi’s Restaurant. b. Allow the customer to select more than one item from the menu. c. Calculate and print the bill to the customer. d. Produce a report to present your complete program and show more sample output. Assume that the HiFi’s Restaurant offers the following breakfast menu: Plain Egg $2.50 Bacon and Egg $3.45 Muffin $2.20 French Toast $2.95 Fruit Basket $3.45 Cereal $0.70 Coffee $1.50 Tea $1.80
What are qualifiers and modifiers c?
Explain how do you search data in a data file using random access method?
What is a good way to implement complex numbers in c?
Can a variable be both const and volatile?
What is the mean of function?
How many types of errors are there in c language? Explain
What are external variables in c?
What is string concatenation in c?
how is the examination pattern?
Why does not c have an exponentiation operator?