Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2019
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1.  
  2. package javaapplication11;
  3.  
  4. import java.util.Scanner;
  5.  
  6.  
  7. public class Sum {
  8.  
  9.  
  10. public static void main(String[] args) {
  11. Scanner input = new Scanner(System.in);
  12. int a = input.nextInt();
  13. int b = input.nextInt();
  14. System.out.println(a+b);
  15. }
  16.  
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement