Run ❯
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
public class Main { public static void main(String[] args) { int myAge = 25; int votingAge = 18; if (myAge >= votingAge) { System.out.println("Old enough to vote!"); } else { System.out.println("Not old enough to vote."); } } }
Old enough to vote!