i am beginner in java. i had this problem but it wont compile it says i have an error in the system.out method. but i cant find it.
heres what i got.
public class Name
public static void main(String args)
int age = 0;
double annualPay = 0;
double averageMonthlyPay = 0;
averageMonthlyPay = (annualPay/12);
name = JOptionPane.showInputDialog(null, "What is your name? ");
age= Integer.parseInt(JOptionPane.showInputDialog(null, "What is your age? "));
annualPay= Double.parseDouble(JOptionPane.showInputDialog("Wh at is your annual pay? "));
System.outprintln( "My name is," + name + "my age is"+ age +
"and/nMy annual pay is" + annualPay +
"/nMy average montly pay is", + averageMonthlyPay);