Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

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 ));
}
}

 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"