I have a very simple java program to prompt user input for certain data on console.
BufferedReader br = new BufferedReader( new InputStreamReader( System.in ));
System.out.printf( "Please enter data 1:" );
data1 =Double.parseDouble( br.readLine());
System.out.printf( "Please enter data 2:" );
data2 =Double.parseDouble( br.readLine());
The problem is when displaying the 2nd prompt, the input cursor moves to the begining of that line. Is there way to control it to move it to the end of the 2nd prompt?