📄 SimpleMath.java .java dosyası
⬇️ İndir
package beginner;
public class SimpleMath {
public static void main(String[] args) {
int x = 22;
int y = 7;
System.out.println("x + y = " + (x+y));
System.out.println("x - y = " + (x-y));
System.out.println("y - x = " + (y-x));
System.out.println("x * y = " + (x*y));
System.out.println("x / y = " + (x/y));
System.out.println("y / x = " + (y/x));
}
}