public static String getInput ( String name , BufferedReader br ) throws IOException { // prompt the user to enter the given name System . out . print ( "Please Enter " + name + ": " ) ; String value = br . readLine ( ) ; return value ; }
get input from standard in