1

What will be the output of the following program?

class Rules {
public static void main(String[] args) {
System.out.println(10 * 5 + 100 * (25 * 11) / (25 * 10) * 10 – 5 + 7 % 2);
int zx = (10 * 5 + 100 * (25 * 11));
int yz = ((25 * 10) * 10 – 5 + 7 % 2);
System.out.println(zx / yz);
}
}

  • 1046
    1046

  • 1046
    10

  • 1146
    1146

  • 1146
    11