import java.util.Scanner; /** * Write a description of class getUserInput here. * * @author (your name) * @version (a version number or a date) */ public class Console { public int getUserInput() { Scanner userInput = new Scanner(System.in); int numberInput = userInput.nextInt(); return numberInput; } public void printSumOfInput(int sum){ System.out.println("The sum of 1 to your number, n, is: " + sum); } }