blackmartinix Posted October 13, 2004 Share Posted October 13, 2004 I'm supposed to use BufferedReader to ask the user to input values for the length, width, and height of a cube and to calculate the area and volume. I have the methods set but I'm unsure of what to put in the main method to ask for 3 values. This is what I have so far :: Cube.java Any help would be appreciated Link to comment Share on other sites More sharing options...
0 Mouton Posted October 14, 2004 Share Posted October 14, 2004 Just a guess: http://java.sun.com/j2se/1.5.0/docs/api/ja...html#readLine() Link to comment Share on other sites More sharing options...
Question
blackmartinix
I'm supposed to use BufferedReader to ask the user to input values for the length, width, and height of a cube and to calculate the area and volume.
I have the methods set but I'm unsure of what to put in the main method to ask for 3 values. This is what I have so far :: Cube.java
Any help would be appreciated
Link to comment
Share on other sites
1 answer to this question
Recommended Posts