I need some more help with JAVA.

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

manly

Lifer
Jan 25, 2000
13,556
4,228
136
The answer to question #2 is Math.round()

If you haven't already done so, bookmark the Java Platform API docs, because you'll refer to them regularly.

I'm too lazy to figure out #3, but as Ameesh said, it's basically algebra.

If you don't already have one, pick up a good introductory Java programming book. Bruce Eckel's Thinking in Java is pretty popular. If you searched the software forum, you could find some other recommendations.