double []tax_rate(char status, int income){
        double []ledger = new double[2];
        //String norma = String.format("%s",status);
        //ledger[0] = (String.format("%s",status).toLowerCase().equals("s")) ? income < 32000 ? .10*32000 : 3200 +
        // (income * .25):2;
        if (String.format("%s",status).toLowerCase().equals("s")) {
            ledger[0] = income <= 32000 ? .10*32000 : ((income - 32000)*.25) +(3200);// : 2;
        }
        else if (String.format("%s",status).toLowerCase().equals("m")) {
            ledger[0] = income <= 64000 ? .10*64000 : ((income - 64000)*.25) +(6400);// : 2;
        }

        return ledger;
    }