if Statement

PrevNextBack
Test undefined
undefined questions|4 marks

Question 1
2 marks

Predict the output of the below code snippet when executed:

Question 2
2 marks

Predict the output of the below code snippet when executed: