View Single Post
  #1 (permalink)  
Old 08-06-2007, 07:29 PM
barney barney is offline
Member
 
Join Date: Jul 2007
Posts: 40
barney is on a distinguished road
Help with BufferedInputstream and/or DataInputStream
Hi, I would like to read data from the console in Java. I know that I need to use BufferedInputstream and/or DataInputStream but I need an example.

Something like:

Code:
Int value; System.out.println("Please enter the percentage!"); then the the user enters/types: 60% and then value = 60%.
Thanks.
Reply With Quote
Sponsored Links