Respuesta :
Answer:
The correct option is 1 1.
Explanation:
As the code is not visible here, the question is attached herewith.
- The variable funny and serious are initialized with values 7 and 15 respectively.
- In the next step funny is assigned with value of 15 %2 = 1 , Therefore funny=1.
- In the if statement funny!=1, which means 1!=1 which is false. Therefore if statements fails to execute.
- The next block is else if statement ,funny==2 which means 1==2 ( 1 equal to 2) which is false. Therefore else if fails.
- The else executes because all other conditions failed.
- Therefore funny =1 and serious =1 are executed and printed.
- Therefore the output is 1 1
