Findryan

Untitled

Nov 4th, 2016
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. import java.util.Scanner;
  2.  
  3. public class InputInteger
  4. {
  5. public static void main(String[]args)
  6. {
  7. int a,b,c;
  8. Scanner I_Integer = new Scanner(System.in);
  9. System.out.print("Masukan Bilangan\n");
  10. a = I_Integer.nextInt();
  11. b = I_Integer.nextInt();
  12. c= a+b;
  13. System.out.println(c);
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment