Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Isääsnussittu{
- public static void main(String[] args) {
- System.out.println("Anna minulle kokonaisluku");
- int numero1 = In.lueInt();
- System.out.println("Anna toinen kokonaisluku");
- int numero2 = In.lueInt();
- int summa = numero1+numero2;
- int erotus = numero1-numero2;
- System.out.println("Numeroiden summa on "+summa+" ja niiden erotus on "+erotus);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement