The problem is in the System.out.println. For example, try the followingIt will print the correct valueCode:System.out.printf("%f", 3.14 + 1.49 + 0.99 + 3.26 + 4.11);
|
Results 1 to 2 of 2
Threaded View
|
Click Here to Expand Forum to Full Width |