How does that change my answer? If the value was 5 or 27 the same logic works. 5 would shift by 1 position, 27 by two.
Type: Posts; User: Norm
How does that change my answer? If the value was 5 or 27 the same logic works. 5 would shift by 1 position, 27 by two.
Look at the resultant value that you want given 700.
How would you get that result if you did it in a calculator?
Shift the 700 left by 3 positions and add 700.
To shift a decimal number left you...
Ok, I'll ask you line by line to explain what you want your code to do.
What is this line supposed to do?
int x = "random"+"random";
Here are two choices that will allow the above to compile:...
I will. Please post them with an explanation as I have requested.
Looking at the comments in the code I have no idea what the code is supposed to do. How can I suggest how to make the code work...
Ok, I see the code. What next?
For example: show its output, describe what is wrong with it and show what you want it to be.
No. math ops require numbers
You'll have to post your code for any help on the rest. I have no idea what you are trying to do.
The numbers you are talking about are in two different formats.
One is as a numerical value held in a variable like an int: 117.
The other format is as a String: "117"
The + operator works...