Tim, this is what i have so far, i can't think of how to do the over 50 part with the 10 per cent reduction:
public static void main (
String[] args) throws IOException
{
finale int income
finale double tax
finale int age
// create a text input stream
BufferedReader stdin = new BufferedReader (new
InputStreamReader (System.in));
String message;
// read a line of text
System.out.print("Enter the employee’s taxable income:");
message = stdin.readLine();
// display the line of text
System.out.println("Your input was: " + message);
System.out.print("Enter the employee’s age:");
message = stdin.readLine();
System.out.println("Your input was: " + message);
}
if age<50
switch ( income)
case 1:
income =<6000
tax = 0
break;
case 2:
income =< 21600 && => 6001
tax = 0.17(income-6000)
brekae;
case 3:
income =< 52000 && => 21601
tax = 0.3(income-21601)+2652
breake;
case 4:
income =< 62500 && => 51001
tax = 0.42(income-52000)+11,772
break;
case 5:
income => 62501
tax = 0.47(income-62501)+16182
break;
else if age=>50
P.S: i would really appreciate your help on that..thanks