By subtracting any two of the numbers A-B , if the output number is negative , B IS GREAT and if its positive A is great
c = (a > b) ? a: b;
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.
Not possible. Let's not forget than in C the followings are all operators:+, -+=, -=++, --=&, *, []function-call
How do you do. I am doing well thank you. Swap two number by using reference operators A tough assignment, it will make you think. I think you are confusing reference operators with pointers. Were I you I would study the section on pointers in your text book or course material.
I don't think this can be done. Why do you want to do it without operators, anyway? It is fairly simple to use them. - Of course, you could write a method that adds two numbers, but your method will internally still have to use operators. ----------------------------------------- Reply by lordstriker24@yahoo.com import java.math.BigInteger; public class MultiplyTest { public static void main(String[] args) { BigInteger bigInt1 = new BigInteger("5"); BigInteger bigInt2 = new BigInteger("8"); System.out.println(bigInt1.add(bigInt2)); } }
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); }
void main() { float i,j; int a; printf("Enter two numbers : "); scanf("%f%f",&i&j); a=i/j; if(a) printf("%f is greater",i); else printf("%f is greater",j); }
Calculus Magic!
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.
using max function
There is no way to simplify a string of numbers without any operators.
It is a group of numbers without any operators separating them. It is therefore not possible to evaluate them as if they formed a numerical expression.
There is no greatest common multiple of any integers as whatever number is said to be it, the lowest common multiple of the numbers can be added to get an even greater common multiple. If you mean least common multiple (the lowest (positive) integer that can be divided by the numbers without a remainder), the answer is 312. If you mean the greatest common factor (the greatest (positive) integer that can divide into the numbers without any remainder). the answer is 4.
None without applying any binary operations because repeated use of a digit does not alter the cardinality of a set. If you can use operators, the answer depends on which operators and how they may be combined.
No. There is not a greatest common factor of a single number, such as 37, because there cannot be a greatest common factor without two or more numbers to compare. Common factors are factors that the numbers being compared have in common. The greatest common factor is the largest factor that all the numbers being compared have in common.
The greatest common factor (GCF) or highest common factor (HCF) of the two (or more) numbers.
No 44444 is not 10. the answer is 1,024. Without any operators of indication of how to manipulate the numbers they remain a series of 4s
Not possible. Let's not forget than in C the followings are all operators:+, -+=, -=++, --=&, *, []function-call