Results 1 to 5 of 5

Thread: help Debuging

  1. #1
    Pyrexkidd is offline Member
    Join Date
    May 2010
    Posts
    11
    Rep Power
    0

    Default help Debuging

    I am working on my final programming project for school this semester. essentially i need to read names and hours from a file and then perform calculations on those numbers. ie state tax, fed tax, gross pay, net pay... etc. then i need to do a sort and re calculate all of the data.

    when I run the code I am getting the following error
    Java Code:
    run:
    Exception in thread "main" java.lang.NullPointerException
            at program11.program11.rightPadName(program11.java:253)
            at program11.program11.printEmployeeLines(program11.java:108)
            at program11.program11.main(program11.java:33)
    Java Result: 1
    BUILD SUCCESSFUL (total time: 0 seconds)
    What does that error mean? I can't even get my code to run.

    Any help is greatly appreciated.



    Here is the code for my final project:
    Java Code:
    package program11;
    import java.io.*;
    import java.util.*;
    import java.text.*;
    /**
     *
     * @author jon
     */
    public class program11 {
        final static double FEDTAX = .18;
        final static double STTAX = .045;
        final static double UNIDUES = 7.85;
    
        public static void main(String[] args) {
            try{
            String[] names;
            double[][] data;
            String fileIn = "./input";
            String fileOut = "./report.out";
            Scanner InFile = new Scanner(new FileReader (fileIn));
            PrintWriter OutFile = new PrintWriter(fileOut);
            int lines = countLines(InFile);
            names = new String[lines];
            data = new double[lines][2];
    
            input(names, data, InFile);
            printHeading(OutFile);
            printEmployeeLines(names, data, OutFile);
            sortNamesAlpha(names, data);
            printEmployeeLines(names, data, OutFile);
            sortGrossPay(names, data);
            printSummary(names, data, OutFile);
            OutFile.close();
    
            }// end try
    
            // Standard exception error handeling.
            catch(FileNotFoundException e){
                System.out.println("The file 'input' was not found." + e);
            }
            catch(IOException e){
                System.out.println("IO error");
                System.out.println(e);
            }
            catch (NumberFormatException e){
                System.out.println("Number format error");
                System.out.println(e);
            }// end error handling
    
        }// end main
        public static void input(String[] names, double[][] data, Scanner InFile){
            int i = 0;
            String line;
            StringTokenizer st;
            while ( i < names.length && InFile.hasNext()){
                line = InFile.nextLine();
    	    st = new StringTokenizer(line);
                System.out.println(line);
                getName(names, i, st);
    	    data[i][0] = Integer.parseInt(st.nextToken());
    	    data[i][1] = Integer.parseInt(st.nextToken());
    	    i++;
       }  // end of while
    }  // end of method
    
        public static void getName(String[] names, int i, StringTokenizer st){
    	    int m = st.countTokens();
                names[i] = st.nextToken();
                for (int j = 1; j < m - 2; j++){
                    System.out.println(names[i]);
    	        names[i] = names[i] + " " + st.nextToken();
                }
    
        }
        public static int countLines(Scanner InFile){
            String tmp;
            int i = 0;
            while (InFile.hasNext()){
                tmp = InFile.nextLine();
                i++;
            }// end while
            return i;
        }
        public static void printHeading(PrintWriter OutFile){
            OutFile.println("---------------------------------------------------" +
                    "-----------------------------------------------");
            OutFile.println("|Name        Net Pay      Gross Pay     Federal Tax"+
                    "      State Tax    Dues     Hours     Pay Rate|");
            OutFile.println("|--------------------------------------------------" +
                    "----------------------------------------------|");
        }// emd print Heading
    
        public static void printEmployeeLines(String[] names, double[][] data, PrintWriter OutFile){
        //name, net pay, gross pay, fed tax, state tax, dues, hours, pay rate
            for (int i=0; i< names.length; i++){
                String name = names[i];
                OutFile.print(rightPadName(name, 30));
                OutFile.print(leftPadCurrency(calcNetPay(data, i), 5));
                OutFile.print(leftPadCurrency(calcGrossPay(data, i), 5));
                OutFile.print(leftPadCurrency(calcFedTax(data, i), 5));
                OutFile.print(leftPadCurrency(calcStTax(data, i), 5));
                OutFile.print(leftPadCurrency(UNIDUES, 5));
                OutFile.print(leftPadNum(data[i][0], 5));
                OutFile.print(leftPadCurrency(data[i][1], 5));
                OutFile.print("|\n");
            }// end for
    
        }
        public static double calcNetPay(double[][] data, int i){
            return calcGrossPay(data, i) - calcFedTax(data, i) -
                    calcStTax(data, i ) - UNIDUES;
        }// end clac net pay
        public static double calcGrossPay(double[][] data, int i){
            return data[i][0] * data[i][1];
        }// end calc GrossPay
        public static double calcFedTax(double[][] data, int i){
            return calcGrossPay(data, i) * FEDTAX;
        }// End calcFedTax
        public static double calcStTax(double[][] data, int i){
            return calcGrossPay(data, i) * STTAX;
        }// end calcStTax
    
        public static void sortNamesAlpha(String[] names, double[][] data){
            for(int i = 0; i < names.length; i++){
                for (int j = 0; j < data.length; j++){
                    if(names[i].compareTo(names[j]) > 0){
                        swapValues(data, i, j);
                        swapNames(names, i, j);
                    }//end if
                }// end for j
            }// end for i
        }// end sortNamesAlpha
    
        public static void sortGrossPay(String[] names, double[][] data){
            for(int i = 0; i < data.length; i++) {
                for(int j = i; j < data.length; j++) {
                    if(calcGrossPay(data, i) > calcGrossPay(data, j)){
                        swapValues(data, i, j);
                        swapNames(names, i, j);
                    }// end if
                }// end for
            }// end for
        }// end sortGrossPay
    
        public static void swapValues(double[][] data, int i, int j) {
            double temp = data[i][1];
            data[i][1] = data[j][1];
            data[j][1] = temp;
            double temp2 = data[i][2];
            data[i][2] = data[j][2];
            data[j][2] = temp;
        }// end swapValues
    
        public static void swapNames(String[] names, int i, int j) {
            String temp = names[i];
            names[i] = names[j];
            names[j] = temp;
        }// end swap names
    
        public static void printSummary(String[] names, double[][] data, PrintWriter OutFile){
            double totalNetPay = calcTotalNetPay(data);
            double totalGrossPay = calcTotalGrossPay(data);
            double totalFedTax = calcTotalFedTax(data);
            double totalStTax = calcTotalStTax(data);
            double totalDues = calcTotalDues(data);
            double totalHours = calcTotalHours(data);
            OutFile.println("|-----------------------------------------------------"+
                    "-----------------------------------------------|");
            OutFile.print(rightPadName("Total", 15));
            OutFile.print(leftPadCurrency(calcTotalNetPay(data), 5));
            OutFile.print(leftPadCurrency(calcTotalGrossPay(data), 5));
            OutFile.print(leftPadCurrency(calcTotalFedTax(data), 5));
            OutFile.print(leftPadCurrency(calcTotalStTax(data), 5));
            OutFile.print(leftPadCurrency(calcTotalDues(data), 5));
            OutFile.print(leftPadNum(calcTotalHours(data), 5));
            OutFile.print("|\n");
            OutFile.print("|-------------------------------------------------------"+
                    "------------------------------------------------|");
        }// end print summary
    
        public static double calcTotalNetPay(double[][] data){
            double temp = 0;
            for(int i = 0; i < data.length; i++){
                temp += calcNetPay(data, i);
            }
            return temp;
        }// end calc total net pay
        public static double calcTotalGrossPay(double[][] data){
            double temp = 0;
            for( int i = 0; i < data.length; i++){
                temp += calcGrossPay(data, i);
            }
            return temp;
        }// end calc total gross pay
        public static double calcTotalDues(double[][] data){
            return data.length * UNIDUES;
        }// end calc total dues
        public static double calcTotalHours(double[][] data){
            double temp = 0;
            for(int i = 0; i< data.length; i++){
                temp += data[i][0];
            }
            return temp;
        }// end calc total hours
    
        public static double calcTotalFedTax(double[][] data){
            double temp = 0;
            for( int i = 0; i < data.length; i++){
                temp += calcFedTax(data, i);
            }
            return temp;
        }// end calc total fed tax
        public static double calcTotalStTax(double[][] data){
            double temp = 0;
            for( int i = 0; i < data.length; i++){
                temp += calcStTax(data, i);
            }
            return temp;
        }// end calc total st tax
    
    
        public static String leftPadCurrency(double num, int width){
            DecimalFormat fmt = new DecimalFormat("#,##0.0");
            String s = fmt.format(num);
            int m = s.length();
            for(int i=0; i < width - m; i++){
                s = " " + s;
            }
            return s;
        } // end leftPadCurrency
        public static String leftPadNum(double num, int width){
            String s = Double.toString(num);
            int m = s.length();
            for(int i=0; i < width - m; i++){
                s = " " + s;
            }
            return s;
        } // end leftPadCurrency
    
        public static String rightPadName(String name, int width){
            String s = name;
            int m = s.length();
            for(int i=0; i < width - m; i++){
                s = s + " ";
            }
            s = "|" + s;
            return s;
        }// end rightPadName
    
    }// end class
    here is the input file
    Java Code:
    Hancock John 40.000 7.75
    Light Karen L 40.000 7.000
    Fagan Bert Todd 41.000 7.00
    Antrim Forrest N 60.000 9.25
    Camden Warren 36.500 10.75
    Mulick Al B 52.333 9.05
    Lee Phoebe 49.750 11.50
    Bright Harry 25.000 8.50
    Garris Ted 41.000 6.50
    Benson Martyne 43.000 8.00
    Lloyd Jeanie D 49.90 7.00
    Leslie Bennie A 41.000 9.50
    Brandt Leslie 58.500 7.50
    Schulman David 41.000 7.50
    Worthington Dan 40.100 9.25
    Hall Gus W 80.500 8.66
    Prigeon Dale R 50.100 8.75
    Fitzgibbons Rusty 43.000 7.00
    Feisner Merle S 40.000 11.25
    Hallquist Dottie 23.000 8.25
    Bolton Seth 43.333 7.00
    Taylor Gregg 43.000 8.00
    Raskin Rose 43.000 9.50
    Kenwood Pat 40.100 7.25
    Slaugher Lew 43.333 8.25

  2. #2
    Pyrexkidd is offline Member
    Join Date
    May 2010
    Posts
    11
    Rep Power
    0

    Default

    upon further debugging it seems that I am not filling my arrays which would cause a NullPointerException.

    So the question them becomes why am I not filling my arrays?

  3. #3
    Pyrexkidd is offline Member
    Join Date
    May 2010
    Posts
    11
    Rep Power
    0

    Default

    here is the culprit line:
    Java Code:
            int lines = countLines(InFile);
    what's happening is I count to the end of the file and the pointer remains at the end of the file.


    my temporary fix was:
    Java Code:
    Scanner InFileCount = new Scanner(new FileReader (fileIn));
    int lines = countLines(InFileCount);
    InFileCount.close();
    which opens another instance of the file and counts the lines. so by counting the other instance when I parse thru InFile I start at the top of the file.

    Is there perhaps a better way to resart at the top of the file?

    also can anyone find the OutOfBounds exception.

  4. #4
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    16,589
    Rep Power
    23

    Default

    Classic problem of using a static array whose size is set vs using a dynamic container that you can add items to and that will automatically grow as needed.

    Re your two pass problem: Closing and reopening a file is one way to restart at the beginning for the second pass. Some file I/O classes have pointers that you can set to control where the next read comes from.

  5. #5
    Pyrexkidd is offline Member
    Join Date
    May 2010
    Posts
    11
    Rep Power
    0

    Default

    here is the final program w/o comments.

    I'd be open to any comments/constructive criticisms about the code


    Java Code:
    package program11;
    import java.io.*;
    import java.util.*;
    import java.text.*;
    /**
     *
     * @author jon
     */
    public class program11 {
        final static double FEDTAX = .18;
        final static double STTAX = .045;
        final static double UNIDUES = 7.85;
    
        public static void main(String[] args) {
            try{
            String[] names;
            double[][] data;
            String fileIn = "./input";
            String fileOut = "./report.out";
            Scanner InFile = new Scanner(new FileReader (fileIn));
            Scanner InFileCount = new Scanner(new FileReader (fileIn));
            PrintWriter OutFile = new PrintWriter(fileOut);
            int lines = countLines(InFileCount);
            InFileCount.close();
    
            names = new String[lines];
            data = new double[lines][2];
    
            input(names, data, InFile);
            printHeading(OutFile);
            printEmployeeLines(names, data, OutFile);
            printSummary(names, data, OutFile);
    
            sortNamesAlpha(names, data);
            printHeading(OutFile);
            printEmployeeLines(names, data, OutFile);
            printSummary(names, data, OutFile);
    
            sortGrossPay(names, data);
            printHeading(OutFile);
            printEmployeeLines(names, data, OutFile);
            printSummary(names, data, OutFile);
    
            OutFile.close();
    
            }// end try
    
            // Standard exception error handeling.
            catch(FileNotFoundException e){
                System.out.println("The file 'input' was not found." + e);
            }
            catch(IOException e){
                System.out.println("IO error");
                System.out.println(e);
            }
            catch (NumberFormatException e){
                System.out.println("Number format error");
                System.out.println(e);
            }// end error handling
    
        }// end main
        public static void input(String[] names, double[][] data, Scanner InFile){
            int i = 0;
            String line;
            StringTokenizer st;
            while ( i < names.length){
                line = InFile.nextLine();
    	    st = new StringTokenizer(line);
                getName(names, i, st);
    
    	    data[i][0] = Double.parseDouble(st.nextToken());
    	    data[i][1] = Double.parseDouble(st.nextToken());
    	    i++;
       }  // end of while
    }  // end of method
    
        public static void getName(String[] names, int i, StringTokenizer st){
    	    int m = st.countTokens();
                names[i] = st.nextToken();
                for (int j = 1; j < m - 2; j++){
    	        names[i] = names[i] + " " + st.nextToken();
                }
    
        }
        public static int countLines(Scanner InFile){
            String tmp;
            int i = 0;
            while (InFile.hasNext()){
                tmp = InFile.nextLine();
                i++;
            }// end while
            return i;
        }
        public static void printHeading(PrintWriter OutFile){
            int widthR = 17;
            int widthL = 12;
            OutFile.println("|---------------------------------------------------" +
                    "------------------------------------------|");
            OutFile.print(rightPadName("Name", widthR));
            OutFile.print(leftPad("Net Pay", widthL));
            OutFile.print(leftPad("Gross Pay", widthL));
            OutFile.print(leftPad("Federal Tax", widthL));
            OutFile.print(leftPad("State Tax", widthL));
            OutFile.print(leftPad("Dues", 8));
            OutFile.print(leftPad("Hours", 8));
            OutFile.print(leftPad("Pay Rate|", 13));
            OutFile.print("\n");
            OutFile.println("|---------------------------------------------------" +
                    "------------------------------------------|");
        }// emd print Heading
    
        public static void printEmployeeLines(String[] names, double[][] data, PrintWriter OutFile){
        //name, net pay, gross pay, fed tax, state tax, dues, hours, pay rate
            for (int i=0; i< names.length; i++){
                int widthR = 17;
                int widthL = 12;
                String name = names[i];
                OutFile.print(rightPadName(name, widthR));
                OutFile.print(leftPadCurrency(calcNetPay(data, i), widthL));
                OutFile.print(leftPadCurrency(calcGrossPay(data, i), widthL));
                OutFile.print(leftPadCurrency(calcFedTax(data, i), widthL));
                OutFile.print(leftPadCurrency(calcStTax(data, i), widthL));
                OutFile.print(leftPadDues(UNIDUES, 8));
                OutFile.print(leftPad(data[i][0], 8));
                OutFile.print(leftPadCurrency(data[i][1], widthL));
                OutFile.print("|\n");
            }// end for
    
        }
        public static double calcNetPay(double[][] data, int i){
            return (calcGrossPay(data, i) - calcFedTax(data, i) -
                    calcStTax(data, i) - UNIDUES);
        }// end clac net pay
            public static double calcGrossPay(double[][] data, int i){
            if (data[i][0] <= 40.0){
                return (data[i][0] * data[i][1]);
            }
            else if (data[i][0] < 50){
                return (((data[i][0] - 40) * 1.5 * data[i][1]) + data[i][1]*40);
            }
            else if (data[i][0] >= 50){
                return (((data[i][0] - 50) * 2 * data[i][1]) + data[i][1] * 40 +
                        15 * data[i][1]);
            }
            else{
                return 0;
            }
        }// end calc GrossPay
        public static double calcFedTax(double[][] data, int i){
            return (calcGrossPay(data, i) * FEDTAX);
        }// End calcFedTax
        public static double calcStTax(double[][] data, int i){
            return (calcGrossPay(data, i) * STTAX);
        }// end calcStTax
    
        public static void sortNamesAlpha(String[] names, double[][] data){
            for(int i = 0; i < names.length; i++){
                for (int j = 0; j < data.length; j++){
                    if(names[i].compareTo(names[j]) > 0){
                        swapValues(data, i, j);
                        swapNames(names, i, j);
                    }//end if
                }// end for j
            }// end for i
        }// end sortNamesAlpha
    
        public static void sortGrossPay(String[] names, double[][] data){
            for(int i = 0; i < data.length; i++) {
                for(int j = i; j < data.length; j++) {
                    if(calcGrossPay(data, i) > calcGrossPay(data, j)){
                        swapValues(data, i, j);
                        swapNames(names, i, j);
                    }// end if
                }// end for
            }// end for
        }// end sortGrossPay
    
        public static void swapValues(double[][] data, int i, int j) {
            double temp = data[i][0];
            data[i][0] = data[j][0];
            data[j][0] = temp;
            double temp2 = data[i][1];
            data[i][1] = data[j][1];
            data[j][1] = temp2;
        }// end swapValues
    
        public static void swapNames(String[] names, int i, int j) {
            String temp = names[i];
            names[i] = names[j];
            names[j] = temp;
        }// end swap names
    
        public static void printSummary(String[] names, double[][] data, PrintWriter OutFile){
            int widthR = 17;
            int widthL = 12;
            OutFile.println("|-----------------------------------------------------"+
                    "----------------------------------------|");
            OutFile.print(rightPadName("Total", widthR));
            OutFile.print(leftPadCurrency(calcTotalNetPay(data), widthL));
            OutFile.print(leftPadCurrency(calcTotalGrossPay(data), widthL));
            OutFile.print(leftPadCurrency(calcTotalFedTax(data), widthL));
            OutFile.print(leftPadCurrency(calcTotalStTax(data), widthL));
            OutFile.print(leftPadDues(calcTotalDues(data), 8));
            OutFile.print(leftPad(calcTotalHours(data), 8));
            OutFile.print("            |\n");
            OutFile.println("|-----------------------------------------------------"+
                    "----------------------------------------|");
        }// end print summary
    
        public static double calcTotalNetPay(double[][] data){
            double temp = 0;
            for(int i = 0; i < data.length; i++){
                temp += calcNetPay(data, i);
            }
            return temp;
        }// end calc total net pay
        public static double calcTotalGrossPay(double[][] data){
            double temp = 0;
            for( int i = 0; i < data.length; i++){
                temp += calcGrossPay(data, i);
            }
            return temp;
        }// end calc total gross pay
        public static double calcTotalDues(double[][] data){
            return data.length * UNIDUES;
        }// end calc total dues
        public static double calcTotalHours(double[][] data){
            double temp = 0;
            for(int i = 0; i< data.length; i++){
                temp += data[i][0];
            }
            return temp;
        }// end calc total hours
    
        public static double calcTotalFedTax(double[][] data){
            double temp = 0;
            for( int i = 0; i < data.length; i++){
                temp += calcFedTax(data, i);
            }
            return temp;
        }// end calc total fed tax
        public static double calcTotalStTax(double[][] data){
            double temp = 0;
            for( int i = 0; i < data.length; i++){
                temp += calcStTax(data, i);
            }
            return temp;
        }// end calc total st tax
    
    
        public static String leftPadCurrency(double num, int width){
            DecimalFormat fmt = new DecimalFormat("#,##0.00");
            String s = fmt.format(num);
            int m = s.length();
            for(int i=0; i < width - m; i++){
                if(m == 5 && i == 3 || m == 4 && i == 4 || m == 8 && i == 0){
                    s = "$" + s;
                }
                else if (m == 6 && i == 2)
                    s = "$" + s;
                else{
                    s = " " + s;
                }
            }
            return s;
    
        } // end leftPadCurrency
        public static String leftPadDues(double num, int width){
            DecimalFormat fmt = new DecimalFormat("#,##0.00");
            String s = fmt.format(num);
            int m = s.length();
            for(int i=0; i < width - m; i++){
                if(m == 4 && i == 2 || m == 6 && i == 0){
                    s = "$" + s;
                }
                else{
                    s = " " + s;
                }
    
            }
            return s;
        }
        // left pad takes numbers
        public static String leftPad(double num, int width){
            DecimalFormat fmt = new DecimalFormat("#,##0.0");
            String s = fmt.format(num);
            int m = s.length();
            for(int i=0; i < width - m; i++){
                    s = " " + s;
            }
            return s;
    
        } // end leftPad
    
        // overloaded leftPad takes string
        public static String leftPad(String s, int width){
            int m = s.length();
            for(int i=0; i < width - m; i++){
                    s = " " + s;
            }
            return s;
        } // end leftPad overloaded
    
        public static String rightPadName(String s, int width){
            int m = s.length();
            for(int i=0; i < width - m; i++){
                s = s + " ";
            }
            s = "|" + s;
            return s;
        }// end rightPadName
    }
    output of program:
    Java Code:
    |---------------------------------------------------------------------------------------------|
    |Name                  Net Pay   Gross Pay Federal Tax   State Tax    Dues   Hours    Pay Rate|
    |---------------------------------------------------------------------------------------------|
    |Hancock John        $  232.40   $  310.00   $   55.80   $   13.95 $  7.85    40.0   $    7.75|
    |Light Karen L       $  209.15   $  280.00   $   50.40   $   12.60 $  7.85    40.0   $    7.00|
    |Fagan Bert Todd     $  217.29   $  290.50   $   52.29   $   13.07 $  7.85    41.0   $    7.00|
    |Antrim Forrest N    $  529.81   $  693.75   $  124.88   $   31.22 $  7.85    60.0   $    9.25|
    |Camden Warren       $  296.24   $  392.38   $   70.63   $   17.66 $  7.85    36.5   $   10.75|
    |Mulick Al B         $  410.63   $  539.98   $   97.20   $   24.30 $  7.85    52.3   $    9.05|
    |Lee Phoebe          $  479.00   $  628.19   $  113.07   $   28.27 $  7.85    49.8   $   11.50|
    |Bright Harry        $  156.84   $  212.50   $   38.25   $    9.56 $  7.85    25.0   $    8.50|
    |Garris Ted          $  201.21   $  269.75   $   48.56   $   12.14 $  7.85    41.0   $    6.50|
    |Benson Martyne      $  268.05   $  356.00   $   64.08   $   16.02 $  7.85    43.0   $    8.00|
    |Lloyd Jeanie D      $  289.71   $  383.95   $   69.11   $   17.28 $  7.85    49.9   $    7.00|
    |Leslie Bennie A     $  297.69   $  394.25   $   70.96   $   17.74 $  7.85    41.0   $    9.50|
    |Brandt Leslie       $  410.65   $  540.00   $   97.20   $   24.30 $  7.85    58.5   $    7.50|
    |Schulman David      $  233.37   $  311.25   $   56.02   $   14.01 $  7.85    41.0   $    7.50|
    |Worthington Dan     $  279.98   $  371.39   $   66.85   $   16.71 $  7.85    40.1   $    9.25|
    |Hall Gus W          $  770.68   $1,004.56   $  180.82   $   45.21 $  7.85    80.5   $    8.66|
    |Prigeon Dale R      $  366.47   $  483.00   $   86.94   $   21.74 $  7.85    50.1   $    8.75|
    |Fitzgibbons Rusty   $  233.56   $  311.50   $   56.07   $   14.02 $  7.85    43.0   $    7.00|
    |Feisner Merle S     $  340.90   $  450.00   $   81.00   $   20.25 $  7.85    40.0   $   11.25|
    |Hallquist Dottie    $  139.21   $  189.75   $   34.16   $    8.54 $  7.85    23.0   $    8.25|
    |Bolton Seth         $  236.27   $  315.00   $   56.70   $   14.17 $  7.85    43.3   $    7.00|
    |Taylor Gregg        $  268.05   $  356.00   $   64.08   $   16.02 $  7.85    43.0   $    8.00|
    |Raskin Rose         $  319.78   $  422.75   $   76.10   $   19.02 $  7.85    43.0   $    9.50|
    |Kenwood Pat         $  217.74   $  291.09   $   52.40   $   13.10 $  7.85    40.1   $    7.25|
    |Slaugher Lew        $  279.87   $  371.25   $   66.82   $   16.71 $  7.85    43.3   $    8.25|
    |---------------------------------------------------------------------------------------------|
    |Total               $7,684.54   10,168.77   $1,830.38   $  457.59 $196.25 1,108.4            |
    |---------------------------------------------------------------------------------------------|
    |---------------------------------------------------------------------------------------------|
    |Name                  Net Pay   Gross Pay Federal Tax   State Tax    Dues   Hours    Pay Rate|
    |---------------------------------------------------------------------------------------------|
    |Worthington Dan     $  279.98   $  371.39   $   66.85   $   16.71 $  7.85    40.1   $    9.25|
    |Taylor Gregg        $  268.05   $  356.00   $   64.08   $   16.02 $  7.85    43.0   $    8.00|
    |Slaugher Lew        $  279.87   $  371.25   $   66.82   $   16.71 $  7.85    43.3   $    8.25|
    |Schulman David      $  233.37   $  311.25   $   56.02   $   14.01 $  7.85    41.0   $    7.50|
    |Raskin Rose         $  319.78   $  422.75   $   76.10   $   19.02 $  7.85    43.0   $    9.50|
    |Prigeon Dale R      $  366.47   $  483.00   $   86.94   $   21.74 $  7.85    50.1   $    8.75|
    |Mulick Al B         $  410.63   $  539.98   $   97.20   $   24.30 $  7.85    52.3   $    9.05|
    |Lloyd Jeanie D      $  289.71   $  383.95   $   69.11   $   17.28 $  7.85    49.9   $    7.00|
    |Light Karen L       $  209.15   $  280.00   $   50.40   $   12.60 $  7.85    40.0   $    7.00|
    |Leslie Bennie A     $  297.69   $  394.25   $   70.96   $   17.74 $  7.85    41.0   $    9.50|
    |Lee Phoebe          $  479.00   $  628.19   $  113.07   $   28.27 $  7.85    49.8   $   11.50|
    |Kenwood Pat         $  217.74   $  291.09   $   52.40   $   13.10 $  7.85    40.1   $    7.25|
    |Hancock John        $  232.40   $  310.00   $   55.80   $   13.95 $  7.85    40.0   $    7.75|
    |Hallquist Dottie    $  139.21   $  189.75   $   34.16   $    8.54 $  7.85    23.0   $    8.25|
    |Hall Gus W          $  770.68   $1,004.56   $  180.82   $   45.21 $  7.85    80.5   $    8.66|
    |Garris Ted          $  201.21   $  269.75   $   48.56   $   12.14 $  7.85    41.0   $    6.50|
    |Fitzgibbons Rusty   $  233.56   $  311.50   $   56.07   $   14.02 $  7.85    43.0   $    7.00|
    |Feisner Merle S     $  340.90   $  450.00   $   81.00   $   20.25 $  7.85    40.0   $   11.25|
    |Fagan Bert Todd     $  217.29   $  290.50   $   52.29   $   13.07 $  7.85    41.0   $    7.00|
    |Camden Warren       $  296.24   $  392.38   $   70.63   $   17.66 $  7.85    36.5   $   10.75|
    |Bright Harry        $  156.84   $  212.50   $   38.25   $    9.56 $  7.85    25.0   $    8.50|
    |Brandt Leslie       $  410.65   $  540.00   $   97.20   $   24.30 $  7.85    58.5   $    7.50|
    |Bolton Seth         $  236.27   $  315.00   $   56.70   $   14.17 $  7.85    43.3   $    7.00|
    |Benson Martyne      $  268.05   $  356.00   $   64.08   $   16.02 $  7.85    43.0   $    8.00|
    |Antrim Forrest N    $  529.81   $  693.75   $  124.88   $   31.22 $  7.85    60.0   $    9.25|
    |---------------------------------------------------------------------------------------------|
    |Total               $7,684.54   10,168.77   $1,830.38   $  457.59 $196.25 1,108.4            |
    |---------------------------------------------------------------------------------------------|
    |---------------------------------------------------------------------------------------------|
    |Name                  Net Pay   Gross Pay Federal Tax   State Tax    Dues   Hours    Pay Rate|
    |---------------------------------------------------------------------------------------------|
    |Hallquist Dottie    $  139.21   $  189.75   $   34.16   $    8.54 $  7.85    23.0   $    8.25|
    |Bright Harry        $  156.84   $  212.50   $   38.25   $    9.56 $  7.85    25.0   $    8.50|
    |Garris Ted          $  201.21   $  269.75   $   48.56   $   12.14 $  7.85    41.0   $    6.50|
    |Light Karen L       $  209.15   $  280.00   $   50.40   $   12.60 $  7.85    40.0   $    7.00|
    |Fagan Bert Todd     $  217.29   $  290.50   $   52.29   $   13.07 $  7.85    41.0   $    7.00|
    |Kenwood Pat         $  217.74   $  291.09   $   52.40   $   13.10 $  7.85    40.1   $    7.25|
    |Hancock John        $  232.40   $  310.00   $   55.80   $   13.95 $  7.85    40.0   $    7.75|
    |Schulman David      $  233.37   $  311.25   $   56.02   $   14.01 $  7.85    41.0   $    7.50|
    |Fitzgibbons Rusty   $  233.56   $  311.50   $   56.07   $   14.02 $  7.85    43.0   $    7.00|
    |Bolton Seth         $  236.27   $  315.00   $   56.70   $   14.17 $  7.85    43.3   $    7.00|
    |Taylor Gregg        $  268.05   $  356.00   $   64.08   $   16.02 $  7.85    43.0   $    8.00|
    |Benson Martyne      $  268.05   $  356.00   $   64.08   $   16.02 $  7.85    43.0   $    8.00|
    |Slaugher Lew        $  279.87   $  371.25   $   66.82   $   16.71 $  7.85    43.3   $    8.25|
    |Worthington Dan     $  279.98   $  371.39   $   66.85   $   16.71 $  7.85    40.1   $    9.25|
    |Lloyd Jeanie D      $  289.71   $  383.95   $   69.11   $   17.28 $  7.85    49.9   $    7.00|
    |Camden Warren       $  296.24   $  392.38   $   70.63   $   17.66 $  7.85    36.5   $   10.75|
    |Leslie Bennie A     $  297.69   $  394.25   $   70.96   $   17.74 $  7.85    41.0   $    9.50|
    |Raskin Rose         $  319.78   $  422.75   $   76.10   $   19.02 $  7.85    43.0   $    9.50|
    |Feisner Merle S     $  340.90   $  450.00   $   81.00   $   20.25 $  7.85    40.0   $   11.25|
    |Prigeon Dale R      $  366.47   $  483.00   $   86.94   $   21.74 $  7.85    50.1   $    8.75|
    |Mulick Al B         $  410.63   $  539.98   $   97.20   $   24.30 $  7.85    52.3   $    9.05|
    |Brandt Leslie       $  410.65   $  540.00   $   97.20   $   24.30 $  7.85    58.5   $    7.50|
    |Lee Phoebe          $  479.00   $  628.19   $  113.07   $   28.27 $  7.85    49.8   $   11.50|
    |Antrim Forrest N    $  529.81   $  693.75   $  124.88   $   31.22 $  7.85    60.0   $    9.25|
    |Hall Gus W          $  770.68   $1,004.56   $  180.82   $   45.21 $  7.85    80.5   $    8.66|
    |---------------------------------------------------------------------------------------------|
    |Total               $7,684.54   10,168.77   $1,830.38   $  457.59 $196.25 1,108.4            |
    |---------------------------------------------------------------------------------------------|
    Last edited by Pyrexkidd; 05-16-2010 at 11:57 PM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •