Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- public class Pocetok {
- public static void main(String[] args) {
- Scanner scanner = new Scanner(System.in);
- int a, b;
- a = scanner.nextInt();
- b = scanner.nextInt();
- System.out.println(a + b); // ova ke gi sobere a i b
- System.out.println(a + " " + b); // ke ispecati a b
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement