Though Java, unlike other languages, does not allow you to directly access the core, memory addresses and system variables, it does have binary operators, such as the shifters >>, <<, and the bitwise operators, |, &, ^. Using these operators, ALL calculations in the computer can be done, even your complicated trig functions.
Though options are limited in Java, it does provide a simulated access to low level operations.
The bitwise operators are in the link below.
Look at the link below to see how the computer really does math.
using pow() function.. ..
// prob not what you are looking for since it just eliminates the if statement but // is still using a boolean operator bool areEqual = (value1 0); You might want to clarify the question. Can you use boolean operators? I don't know how you can get around that.
With repeated multiplication.
If you are using it to describe values in a mathematical formula, it wouldn't be a capital.
a graph where a function is described without using specific values
If you really wanted to do this, you could simulate multiplication with repeated addition.
int *ptr; PS: I don't know what do you mean by 'using address operator'
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.
#define MIN(x,y) ((x<y)?x:y) #define MAX(x,y) ((x>y)?x:y)
Choose some values for x. Then calculate the corresponding values of y using the formula. Put these values in a table.Choose some values for x. Then calculate the corresponding values of y using the formula. Put these values in a table.Choose some values for x. Then calculate the corresponding values of y using the formula. Put these values in a table.Choose some values for x. Then calculate the corresponding values of y using the formula. Put these values in a table.
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.
Not possible. Let's not forget than in C the followings are all operators:+, -+=, -=++, --=&, *, []function-call