/* A program that displays the sum of two integer numbers. Created by Eyasu Mulugeta A.K.A BlackDiamond0014 on 6/23/2017. eyasu@india.com */
import java.util.Scanner; public class AddTwoNumbers { public static void main(String[] args) { int num1, num2; Scanner s = new Scanner(System.in); System.out.println("\n\n\t\t\t# # # # Sum Program # # # #\n\n"); System.out.print("Please enter the first number : "); num1=s.nextInt(); System.out.print("Please enter the second number : "); num2=s.nextInt(); System.out.println("\nThe sum of "+num1+" and "+num2+ " is "+(num1+num2)+"."); } }