double answer = 107
* ((1.00 + (10.00 + 0) / 79.00))
* 10.00;
10.00 + 0 = 10.00
10.00 / 79.00 = 0.13
0.13 + 1.00 = 1.13
1.13 * 10.00 = 11.3
But it isn't, at least according to me. Can...
Type: Posts; User: cow23
double answer = 107
* ((1.00 + (10.00 + 0) / 79.00))
* 10.00;
10.00 + 0 = 10.00
10.00 / 79.00 = 0.13
0.13 + 1.00 = 1.13
1.13 * 10.00 = 11.3
But it isn't, at least according to me. Can...
Why is:
public class Main
{
public static void main(String[] args)
{
double answer = 107
* ((1.00 + (10.00 + 0) / 79.00))
* 10.00;
System.out.println(answer);