Hi, I have homework due in a few hours and I can't get this one line correct. When I compile it, it says it needs some ")" in this line. I have tried for 2 days to figure out how to get this math equation to work. Please help. The line is :System.out.println("The weight is " + (0.03609485 * density * ((3.14159265359 * 3.14159265359) * ((a + b) * ((b - a)) * (b - a) / 4)) + "pounds.") ;
No comments:
Post a Comment