So, I put it into a Java program and ran it and got 0.0, I guess all I was looking for is the "math rules" for Java. This answer tells me that it doesn't round decimals up (unless the program is set...
Type: Posts; User: coolidge
So, I put it into a Java program and ran it and got 0.0, I guess all I was looking for is the "math rules" for Java. This answer tells me that it doesn't round decimals up (unless the program is set...
Hello all, I'm taking an intro to CS class based on Java. A question in the book gives the following declarations:
init iResult, num1=25, num2=40
double fResult, val1=17.0, val2=12.78
and then...