Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- public class ADD {
- public static void main(String[] args) {
- Scanner cin = new Scanner(System.in);
- int a, b;
- while(cin.hasNextInt()) {
- a = cin.nextInt();
- b = cin.nextInt();
- System.out.println(a + b);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement