user
Generate sample code using the given variables.
variables: num1, num2

assistant
if (num1 > num2) {
  console.log(num1 + " is greater than " + num2);
} else {
  console.log(num1 + " is not greater than " + num2);
}