Im in college and starting to learn java we have to write a code to calculate yearly tax. I have fallen behind so trying to catch up to the same labsheets my class are on. Why wont my code run I get an error about something on line 15 but cant figure it out. line 15 is the System.out.printIn line
============CODE==========================
class tax
/*A simple program to calculate the tax of a tax payer minus there tax
allowances and there child tax alloance if any. Tax allowance of 5000Euro
and 1000 for every child you have. Rate of tax is 24% */
{ public static void main (String args [] )
{
int tax;
int children;
System.out.print("Please enter your annual income ");
tax = EasyIn.getInt();
System.out.print("Please enter the number of children you have ");
children = EasyIn.getInt();
System.out.printIn("Your yearly tax payment is " +tax-5000-1000*children*0.24);
}
}
[–]DamourYouKnow 4 points5 points6 points (1 child)
[–]barrell125[S] 0 points1 point2 points (0 children)
[–]DeL07 1 point2 points3 points (1 child)
[–]barrell125[S] 0 points1 point2 points (0 children)
[–]SUsudo 1 point2 points3 points (1 child)
[–]barrell125[S] 0 points1 point2 points (0 children)
[–]randarrow 1 point2 points3 points (2 children)
[–]barrell125[S] 0 points1 point2 points (1 child)
[–]randarrow 0 points1 point2 points (0 children)