Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- import java.lang.*;
- import java.io.*;
- class Ideone
- {
- public static void main (String[] args) throws java.lang.Exception
- {
- int a,b;
- Scanner liczbaA = new Scanner(System.in);
- a= liczbaA.nextInt();
- Scanner liczbaB = new Scanner(System.in);
- b= liczbaB.nextInt();
- int suma;
- suma = a+b;
- System.out.println("suma tych liczb wynosi "+suma);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement