Read three integer value from console window
import java.util.Scanner; public class numberAverages { public static void main(String[] args) { Scanner userInput = new Scanner (System.in); int firstNumber, secondNumber, thirdNumber; /*from ww w. ja v a2s . c o m*/ //Collecting numbers from users System.out.println("Please enter the first number"); firstNumber = userInput.nextInt(); System.out.println("Please enter the second number"); secondNumber = userInput.nextInt(); System.out.println("Please enter the third number"); thirdNumber = userInput.nextInt(); System.out.println(firstNumber + "" + secondNumber + "" + thirdNumber); } }