gabelkova123 / lab

0 stars 0 forks source link

lab2_3 #3

Open gabelkova123 opened 1 year ago

gabelkova123 commented 1 year ago

package Lab_3; import java.util.Scanner;

public class Task_3 { public static void main(String[] args) { Scanner in = new Scanner(System.in); System.out.println("enter a, b: "); int a = in.nextInt(); int b = in.nextInt(); System.out.println("Summa: " + (a+b)); System.out.println("Raznost: " + (a-b)); System.out.println("Mult: " + (ab));

}

}