Answer:
Option a: 0
Step-by-step explanation:
Scanner is a Java class used to read a standard input from user. However, the Scanner object nextInt() method can only read an integer per time. If we input 0 3, the first integer will be taken which is 0.
Since the num = 0, the if block will be ignored. Instead, the else block of codes will run. In the else block, the line num = num + 15 will be skipped as well because the if condition is not met. At the end, the num will remain 0.