Suppose you want to write an if statement with multiple alternatives to print out someone's tax bracket based on their income. Assume the integer variable income holds the annual income. What is wrong with the following if statement?if (income < 10000)
{
System.out.println("Lowest tax bracket");
}
if (income < 20000)
{
System.out.println("Low-Middle tax bracket");
}
if (income < 30000)
{
System.out.println("Middle tax bracket");
}
System.out.println("High tax bracket");

a) The conditions are in the wrong order; the check for the highest bracket should be first
b) The conditions should use an if else/if else sequence, not just independent if statements
c) The conditions should be a switch statement instead
d) Nothing is wrong - the if statement will correctly print out the tax brackets