Hello! I'm Programming in Java and apparently there's a bug

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!

import java.util.Scanner;
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();
currentYear =2018;

System.out.printIn(“Congrats you are”, (currentYear-birthYear ));
}
}

Need your ASSIGNMENT done? Use our paper writing service to score good grades and meet your deadlines.


Order a Similar Paper Order a Different Paper