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.
Not possible. Let's not forget than in C the followings are all operators:+, -+=, -=++, --=&, *, []function-call
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
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.
Compare the first two numbers with the ternary operator. Store the result in a temporary variable. Compare the temporary variable with the third number, again using the ternary operator.
you are a full time wanker.
using max function
Not possible. Let's not forget than in C the followings are all operators:+, -+=, -=++, --=&, *, []function-call
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
It means exactly that. You compare values, using comparison operators such as '==', '<', and '>' (equal to, less than, and greater than respectively). For example; if (value1 > value2) { //Do something }
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.
convert numbers
All of them, but it does depend on what operators are allowed.
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); }
by 4
Compare the first two numbers with the ternary operator. Store the result in a temporary variable. Compare the temporary variable with the third number, again using the ternary operator.
Finding the difference between two numbers involves rationalising them
It is the same thing as adding without a yahoo id