Run ❯
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
public class Main { public static void main(String[] args) { int number = 5; if (number % 2 == 0) { System.out.println(number + " is even."); } else { System.out.println(number + " is odd."); } } }
5 is odd.