answersLogoWhite

0


Best Answer

void main()

{

int a = 5;

int b = 7;

int c = 2;

int res;

res = (int)(a/b)?a:b;

res = (int)(res/c)?res:c;

printf("big num = %d",res);

}

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Largest of 3 numbers without using conditional or relational operators?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you compare two numbers without using any operators in c?

You cannot compare 2 numbers without using relational operators. Certainly, you could subtract them, but you still need to test the result, and that is a relational operator in itself.


How do you compare 2 numbers without using relational operators in c?

using max function


What is operator in java?

An operator is a symbol that does something in Java. for ex: "+" is an arithmetic operator that adds two numbers. ">" is a logical operator that checks if one number is greater than the other. There are many different types of operators in Java like Arithmetic, Logical, Relational and Assignment operators


Does a conditional format in Excel make negative numbers red and positive numbers black?

Not necessarily. You can use one of the standard formatting options to that. There would be no need to use Conditional Formatting. You can get Conditional Formatting to do it, but you can use it do change positive and negative numbers to whatever colours you want or apply other formatting to them.Not necessarily. You can use one of the standard formatting options to that. There would be no need to use Conditional Formatting. You can get Conditional Formatting to do it, but you can use it do change positive and negative numbers to whatever colours you want or apply other formatting to them.Not necessarily. You can use one of the standard formatting options to that. There would be no need to use Conditional Formatting. You can get Conditional Formatting to do it, but you can use it do change positive and negative numbers to whatever colours you want or apply other formatting to them.Not necessarily. You can use one of the standard formatting options to that. There would be no need to use Conditional Formatting. You can get Conditional Formatting to do it, but you can use it do change positive and negative numbers to whatever colours you want or apply other formatting to them.Not necessarily. You can use one of the standard formatting options to that. There would be no need to use Conditional Formatting. You can get Conditional Formatting to do it, but you can use it do change positive and negative numbers to whatever colours you want or apply other formatting to them.Not necessarily. You can use one of the standard formatting options to that. There would be no need to use Conditional Formatting. You can get Conditional Formatting to do it, but you can use it do change positive and negative numbers to whatever colours you want or apply other formatting to them.Not necessarily. You can use one of the standard formatting options to that. There would be no need to use Conditional Formatting. You can get Conditional Formatting to do it, but you can use it do change positive and negative numbers to whatever colours you want or apply other formatting to them.Not necessarily. You can use one of the standard formatting options to that. There would be no need to use Conditional Formatting. You can get Conditional Formatting to do it, but you can use it do change positive and negative numbers to whatever colours you want or apply other formatting to them.Not necessarily. You can use one of the standard formatting options to that. There would be no need to use Conditional Formatting. You can get Conditional Formatting to do it, but you can use it do change positive and negative numbers to whatever colours you want or apply other formatting to them.Not necessarily. You can use one of the standard formatting options to that. There would be no need to use Conditional Formatting. You can get Conditional Formatting to do it, but you can use it do change positive and negative numbers to whatever colours you want or apply other formatting to them.Not necessarily. You can use one of the standard formatting options to that. There would be no need to use Conditional Formatting. You can get Conditional Formatting to do it, but you can use it do change positive and negative numbers to whatever colours you want or apply other formatting to them.


What are the main differences between relational algebra and relational calculus?

Relation algebra is a procedural language where relation calculus is non-procedural languageRelational algebra, an offshoot of first-orderlogic (and of algebra of sets), deals with a set of finitaryrelations (see also relation (database)) which is closed under certain operators. These operators operate on one or more relations to yield a relation. Relational algebra is a part of computer science.Relational calculus consists of two calculi, the tuplerelational calculus and the domain relational calculus, that are part of the relational model for databases and provide a declarative way to specify database queries. This in contrast to the relational algebra which is also part of the relational model but provides a more procedural way for specifying queries.The relational algebra might suggest these steps to retrieve the phone numbers and names of book stores that supply Some Sample Book:1. Join books and titles over the BookstoreID.2. Restrict the result of that join to tuplesfor the book Some Sample Book.3. Project the result of that restriction over StoreNameand StorePhone.The relational calculus would formulate a descriptive, declarative way:Get StoreNameand StorePhonefor supplies such that there exists a title BK with the same BookstoreIDvalue and with a BookTitlevalue of Some Sample Book.The relational algebra and the relational calculus are essentially logically equivalent: for any algebraic expression, there is an equivalent expression in the calculus, and vice versa.This result is known as Codd'stheorem


What does expression mean in math term?

It is a formula with an equal sign * * * * * No. Each side of the equal sign is an expression but the whole is an equation. An expression is a combination of numbers and operators without an equality (or inequality) sign. [Actually, such signs may appear in conditional values, but that is getting seriously pedantic!]


What is the operator that cannot be overloaded?

There are 5 operators which cannot be overloaded. They are: * .* - class member access operator * :: - scope resolution operator * . - dot operator * ?:: - conditional operator * Sizeof() - operator Note:- This is possible only in C++.


Can information operators give home phone numbers?

yes


Which number is equal to 80 600 1?

It is not possible to answer the question since there are no operators between the numbers. 80 + 600 is very different from 80 * 600!It is not possible to answer the question since there are no operators between the numbers. 80 + 600 is very different from 80 * 600!It is not possible to answer the question since there are no operators between the numbers. 80 + 600 is very different from 80 * 600!It is not possible to answer the question since there are no operators between the numbers. 80 + 600 is very different from 80 * 600!


Why is it subtraction and division are not included in the properties of each numbers?

Subtraction and addition are not properties of numbers themselves: they are operators that can be defined on sets of numbers.


Write a c plus plus program to find the largest among three numbers using ternary operators?

R = (A > B && A > C) ? A : (B > C) ? B : C; // parentheses not necessary - for clarity only


Is if you like math then you like science an inverse?

In order to determine if this is an inverse, you need to share the original conditional statement. With a conditional statement, you have if p, then q. The inverse of such statement is if not p then not q. Conditional statement If you like math, then you like science. Inverse If you do not like math, then you do not like science. If the conditional statement is true, the inverse is not always true (which is why it is not used in proofs). For example: Conditional Statement If two numbers are odd, then their sum is even (always true) Inverse If two numbers are not odd, then their sum is not even (never true)