What does the following line of code do?

if (num2==50) {

This line of code is an if statement that checks if the variable `num2` is equal to 50. If `num2` is equal to 50, the code inside the curly braces after the if statement will be executed.