How do I get this program to run properly? I ran it multiple times, but can't seem to get it to work. I keep getting errors on the 'else' part of the programm
Effective March 1, 2012 the individual social security tax rate will increase from 4.2% to 6.2%. Code a program that calculates what you will be paying based on your gross monthly income. Social security is taxed on no more than $110,100 in 2012 and no more than $106,800 in 2011 up through the end of February 2012. Display the amount of social security to be deducted and the amount of the increase.
Prompt 1:
Please enter your name:
Prompt 2:
Please enter your gross monthly income:
Output specification: Where the Xs is the user’s name. Use JOptionPane to display the output.
Xxxxxxx, your monthly social security tax will be $ZZ,ZZ9.99.
This is an increase of $Z,ZZ9.99.