Hello! I’m Programming in Java and apparently there’s a bug with this
code and i can’t find it for the life of me perhaps someone could help me out with it!
public class UMUC_ErrorDemo
public static void main(String args)
System.out.println (“Enter your birth Year”);
Scanner scanner = new Scanner (System.in);
birthYear = scanner.nextInt();
System.out.printIn(“Congrats you are”, (currentYear-birthYear ));