Q. What is the output of this program?
Code:
public class operators_Example
{
public static void main(String args[])
{
int num1 = 10;
int num2 = 20;
int num3;
num3 = num2 + num2 * num1 / num2 + num2;
System.out.print(num3);
}
}
β
Correct Answer: (A)
50