since Math is a class and your not instaciating it you need to use the capitol Math when referring to it =p as for using a BufferedReader to accept the numbers you should try looking at Float.parseFloat() in the java api
http://java.sun.com/j2se/1.4.2/docs/api/index.html
as for the Scanner class... O_o amazing, last java i wrote in was 1.4.2 not 1.5 @_@ and Scanner is new to 1.5 (or 5.0 as sun wants to call it ~_~)
merkerguitars: what version of java are you programming with so that people can help you better because if your using 1.4.2 Scanner will be useless to you
oh btw first post ^_^