public static int InputInt(string prompt)
Console.Write("Enter " + prompt + ": ");
return Convert.ToInt32(Console.ReadLine());
public static void Main(string[] args)
int nextInt = InputInt("Next Integer");
nextInt = InputInt("Next Integer");
Console.WriteLine(achiever);