Тест №2
#Tests
public class Main {
public static void main(String[] args) {
int x = 15;
int y = 10;
String result;
if (x > y) {
if (x % y == 0) {
result = "A";
} else {
result = "B";
}
} else if (x < y) {
result = "C";
} else {
result = "D";
}
System.out.println(result);
}
}
#Tests