class Main {public static void main(String[] args) { System.out.println("YAY! Solving Problems!");double x = 2.5;double y = -1.5;int m = 18;int n = 4; System.out.println(x+n*y-(x+n)*y); System.out.println(m/n+m/n); System.out.println(5*x-n/5); System.out.println(1-(1-(1-(1-(1-n))))); System.out.println(Math.sqrt(Math.sqrt(n))); }}
class Main { public static void main(String[] args) { System.out.println("YAY! Solving Problems!"); double x = 2.5; double y = -1.5; int m = 18; int n = 4; System.out.println(x+n*y-(x+n)*y); System.out.println(m/n+m/n); System.out.println(5*x-n/5); System.out.println(1-(1-(1-(1-(1-n))))); System.out.println(Math.sqrt(Math.sqrt(n))); } }
6.25
8
12.5
-3
1.4142135623730951