user
Write an if-else statement that prints "Success" if the number is greater than 0, and "Fail" otherwise.

Answer:
assistant
if (number > 0) {
  console.log("Success");
} else {
  console.log("Fail");
}