fork download
  1. #include <stdio.h>
  2. #include <string.h>
  3. #include <ctype.h>
  4.  
  5. // define constants
  6. #define SIZE 5
  7. #define STD_HOURS 40.0
  8. #define OT_RATE 1.5
  9. #define MA_TAX_RATE 0.05
  10. #define NH_TAX_RATE 0.0
  11. #define VT_TAX_RATE 0.06
  12. #define CA_TAX_RATE 0.07
  13. #define DEFAULT_TAX_RATE 0.08
  14. #define NAME_SIZE 20
  15. #define TAX_STATE_SIZE 3
  16. #define FED_TAX_RATE 0.25
  17. #define FIRST_NAME_SIZE 10
  18. #define LAST_NAME_SIZE 10
  19.  
  20. // Define a structure type to store an employee name
  21. // ... note how one could easily extend this to other parts
  22. // parts of a name: Middle, Nickname, Prefix, Suffix, etc.
  23. struct name
  24. {
  25. char firstName[FIRST_NAME_SIZE];
  26. char lastName [LAST_NAME_SIZE];
  27. };
  28.  
  29. // Define a structure type to pass employee data between functions
  30. // Note that the structure type is global, but you don't want a variable
  31. // of that type to be global. Best to declare a variable of that type
  32. // in a function like main or another function and pass as needed.
  33. struct employee
  34. {
  35. struct name empName;
  36. char taxState [TAX_STATE_SIZE];
  37. long int clockNumber;
  38. float wageRate;
  39. float hours;
  40. float overtimeHrs;
  41. float grossPay;
  42. float stateTax;
  43. float fedTax;
  44. float netPay;
  45. };
  46.  
  47. // this structure type defines the totals of all floating point items
  48. // so they can be totaled and used also to calculate averages
  49. struct totals
  50. {
  51. float total_wageRate;
  52. float total_hours;
  53. float total_overtimeHrs;
  54. float total_grossPay;
  55. float total_stateTax;
  56. float total_fedTax;
  57. float total_netPay;
  58. };
  59.  
  60. // this structure type defines the min and max values of all floating
  61. // point items so they can be display in our final report
  62. struct min_max
  63. {
  64. float min_wageRate;
  65. float min_hours;
  66. float min_overtimeHrs;
  67. float min_grossPay;
  68. float min_stateTax;
  69. float min_fedTax;
  70. float min_netPay;
  71. float max_wageRate;
  72. float max_hours;
  73. float max_overtimeHrs;
  74. float max_grossPay;
  75. float max_stateTax;
  76. float max_fedTax;
  77. float max_netPay;
  78. };
  79.  
  80. // define prototypes here for each function except main
  81. void getHours (struct employee employeeData[], int theSize);
  82. void calcOvertimeHrs (struct employee employeeData[], int theSize);
  83. void calcGrossPay (struct employee employeeData[], int theSize);
  84. void printHeader (void);
  85. void printEmp (struct employee employeeData[], int theSize);
  86. void calcStateTax (struct employee employeeData[], int theSize);
  87. void calcFedTax (struct employee employeeData[], int theSize);
  88. void calcNetPay (struct employee employeeData[], int theSize);
  89. struct totals calcEmployeeTotals (struct employee employeeData[],
  90. struct totals employeeTotals,
  91. int theSize);
  92.  
  93. struct min_max calcEmployeeMinMax (struct employee employeeData[],
  94. struct min_max employeeMinMax,
  95. int theSize);
  96.  
  97. void printEmpStatistics (struct totals employeeTotals,
  98. struct min_max employeeMinMax,
  99. int theSize);
  100.  
  101. // Add your other function prototypes if needed here
  102.  
  103. int main ()
  104. {
  105.  
  106. // Set up a local variable to store the employee information
  107. // Initialize the name, tax state, clock number, and wage rate
  108. struct employee employeeData[SIZE] = {
  109. { {"Connie", "Cobol"}, "MA", 98401, 10.60},
  110. { {"Mary", "Apl"}, "NH", 526488, 9.75 },
  111. { {"Frank", "Fortran"}, "VT", 765349, 10.50 },
  112. { {"Jeff", "Ada"}, "NY", 34645, 12.25 },
  113. { {"Anton", "Pascal"},"CA",127615, 10.00 }
  114. };
  115.  
  116. // set up structure to store totals and initialize all to zero
  117. struct totals employeeTotals = {0,0,0,0,0,0,0};
  118.  
  119. // set up structure to store min and max values and initialize all to zero
  120. struct min_max employeeMinMax = {0,0,0,0,0,0,0,0,0,0,0,0,0,0};
  121.  
  122. // Call functions as needed to read and calculate information
  123.  
  124. // Prompt for the number of hours worked by the employee
  125. getHours (employeeData, SIZE);
  126.  
  127. // Calculate the overtime hours
  128. calcOvertimeHrs (employeeData, SIZE);
  129.  
  130. // Calculate the weekly gross pay
  131. calcGrossPay (employeeData, SIZE);
  132.  
  133. // Calculate the state tax
  134. calcStateTax (employeeData, SIZE);
  135.  
  136. // Calculate the federal tax
  137. calcFedTax (employeeData, SIZE);
  138.  
  139. // Calculate the net pay after taxes
  140. calcNetPay (employeeData, SIZE);
  141.  
  142. // Keep a running sum of the employee totals
  143. // Note: This remains a Call by Value design
  144. employeeTotals = calcEmployeeTotals (employeeData, employeeTotals, SIZE);
  145.  
  146. // Keep a running update of the employee minimum and maximum values
  147. // Note: This remains a Call by Value design
  148. employeeMinMax = calcEmployeeMinMax (employeeData,
  149. employeeMinMax,
  150. SIZE);
  151. // Print the column headers
  152. printHeader();
  153.  
  154. // print out final information on each employee
  155. printEmp (employeeData, SIZE);
  156.  
  157. // print the totals and averages for all float items
  158. printEmpStatistics (employeeTotals, employeeMinMax, SIZE);
  159.  
  160. return (0); // success
  161.  
  162. } // main
  163.  
  164. //**************************************************************
  165. // Function: getHours
  166. //
  167. // Purpose: Obtains input from user, the number of hours worked
  168. // per employee and updates it in the array of structures
  169. // for each employee.
  170. //
  171. // Parameters:
  172. //
  173. // employeeData - array of employees (i.e., struct employee)
  174. // theSize - the array size (i.e., number of employees)
  175. //
  176. // Returns: void
  177. //
  178. //**************************************************************
  179.  
  180. void getHours (struct employee employeeData[], int theSize)
  181. {
  182.  
  183. int i; // array and loop index
  184.  
  185. // read in hours for each employee
  186. for (i = 0; i < theSize; ++i)
  187. {
  188. // Read in hours for employee
  189. printf("\nEnter hours worked by emp # %06li: ", employeeData[i].clockNumber);
  190. scanf ("%f", &employeeData[i].hours);
  191. }
  192.  
  193. } // getHours
  194.  
  195. //**************************************************************
  196. // Function: printHeader
  197. //
  198. // Purpose: Prints the initial table header information.
  199. //
  200. // Parameters: none
  201. //
  202. // Returns: void
  203. //
  204. //**************************************************************
  205.  
  206. void printHeader (void)
  207. {
  208.  
  209. printf ("\n\n*** Pay Calculator ***\n");
  210.  
  211. // print the table header
  212. printf("\n--------------------------------------------------------------");
  213. printf("-------------------");
  214. printf("\nName Tax Clock# Wage Hours OT Gross ");
  215. printf(" State Fed Net");
  216. printf("\n State Pay ");
  217. printf(" Tax Tax Pay");
  218.  
  219. printf("\n--------------------------------------------------------------");
  220. printf("-------------------");
  221.  
  222. } // printHeader
  223.  
  224. //*************************************************************
  225. // Function: printEmp
  226. //
  227. // Purpose: Prints out all the information for each employee
  228. // in a nice and orderly table format.
  229. //
  230. // Parameters:
  231. //
  232. // employeeData - array of struct employee
  233. // theSize - the array size (i.e., number of employees)
  234. //
  235. // Returns: void
  236. //
  237. //**************************************************************
  238.  
  239. void printEmp (struct employee employeeData[], int theSize)
  240. {
  241.  
  242. int i; // array and loop index
  243.  
  244. // used to format the employee name
  245. char name [FIRST_NAME_SIZE + LAST_NAME_SIZE + 1];
  246.  
  247. // read in hours for each employee
  248. for (i = 0; i < theSize; ++i)
  249. {
  250. // While you could just print the first and last name in the printf
  251. // statement that follows, you could also use various C string library
  252. // functions to format the name exactly the way you want it. Breaking
  253. // the name into first and last members additionally gives you some
  254. // flexibility in printing. This also becomes more useful if we decide
  255. // later to store other parts of a person's name. I really did this just
  256. // to show you how to work with some of the common string functions.
  257. strcpy (name, employeeData[i].empName.firstName);
  258. strcat (name, " "); // add a space between first and last names
  259. strcat (name, employeeData[i].empName.lastName);
  260.  
  261. // Print out a single employee
  262. printf("\n%-20.20s %-2.2s %06li %5.2f %4.1f %4.1f %7.2f %6.2f %7.2f %8.2f",
  263. name, employeeData[i].taxState, employeeData[i].clockNumber,
  264. employeeData[i].wageRate, employeeData[i].hours,
  265. employeeData[i].overtimeHrs, employeeData[i].grossPay,
  266. employeeData[i].stateTax, employeeData[i].fedTax,
  267. employeeData[i].netPay);
  268.  
  269. } // for
  270.  
  271. } // printEmp
  272.  
  273. //*************************************************************
  274. // Function: printEmpStatistics
  275. //
  276. // Purpose: Prints out the summary totals and averages of all
  277. // floating point value items for all employees
  278. // that have been processed. It also prints
  279. // out the min and max values.
  280. //
  281. // Parameters:
  282. //
  283. // employeeTotals - a structure containing a running total
  284. // of all employee floating point items
  285. // employeeMinMax - a structure containing all the minimum
  286. // and maximum values of all employee
  287. // floating point items
  288. // theSize - the total number of employees processed, used
  289. // to check for zero or negative divide condition.
  290. //
  291. // Returns: void
  292. //
  293. //**************************************************************
  294.  
  295. void printEmpStatistics (struct totals employeeTotals,
  296. struct min_max employeeMinMax,
  297. int theSize)
  298. {
  299.  
  300. // print a separator line
  301. printf("\n--------------------------------------------------------------");
  302. printf("-------------------");
  303.  
  304. // print the totals for all the floating point fields
  305. // TODO - replace the zeros below with the correct reference to the
  306. printf("\nTotals: %5.2f %5.1f %5.1f %7.2f %6.2f %7.2f %8.2f",
  307. employeeTotals.total_wageRate,
  308. employeeTotals.total_hours,
  309. employeeTotals.total_overtimeHrs,
  310. employeeTotals.total_grossPay,
  311. employeeTotals.total_stateTax,
  312. employeeTotals.total_fedTax,
  313. employeeTotals.total_netPay);
  314.  
  315. // Calculate and print averages for all floating point fields
  316.  
  317. if (theSize > 0)
  318. {
  319. printf("\nAverages: %5.2f %5.1f %5.1f %7.2f %6.2f %7.2f %8.2f",
  320. employeeTotals.total_wageRate / theSize,
  321. employeeTotals.total_hours / theSize,
  322. employeeTotals.total_overtimeHrs / theSize,
  323. employeeTotals.total_grossPay / theSize,
  324. employeeTotals.total_stateTax / theSize,
  325. employeeTotals.total_fedTax / theSize,
  326. employeeTotals.total_netPay / theSize);
  327. } // if
  328.  
  329. // print the min and max values
  330. // TODO - replace the zeros below with the correct reference to the
  331. // to the min member field
  332. printf("\nMinimum: %5.2f %5.1f %5.1f %7.2f %6.2f %7.2f %8.2f",
  333. employeeMinMax.min_wageRate,
  334. employeeMinMax.min_hours,
  335. employeeMinMax.min_overtimeHrs,
  336. employeeMinMax.min_grossPay,
  337. employeeMinMax.min_stateTax,
  338. employeeMinMax.min_fedTax,
  339. employeeMinMax.min_netPay);
  340.  
  341. // TODO - replace the zeros below with the correct reference to the
  342. // to the max member field
  343. printf("\nMaximum: %5.2f %5.1f %5.1f %7.2f %6.2f %7.2f %8.2f",
  344. employeeMinMax.max_wageRate,
  345. employeeMinMax.max_hours,
  346. employeeMinMax.max_overtimeHrs,
  347. employeeMinMax.max_grossPay,
  348. employeeMinMax.max_stateTax,
  349. employeeMinMax.max_fedTax,
  350. employeeMinMax.max_netPay);
  351.  
  352. } // printEmpStatistics
  353.  
  354. //*************************************************************
  355. // Function: calcOvertimeHrs
  356. //
  357. // Purpose: Calculates the overtime hours worked by an employee
  358. // in a given week for each employee.
  359. //
  360. // Parameters:
  361. //
  362. // employeeData - array of employees (i.e., struct employee)
  363. // theSize - the array size (i.e., number of employees)
  364. //
  365. // Returns: void
  366. //
  367. //**************************************************************
  368.  
  369. void calcOvertimeHrs (struct employee employeeData[], int theSize)
  370. {
  371.  
  372. int i; // array and loop index
  373.  
  374. // calculate overtime hours for each employee
  375. for (i = 0; i < theSize; ++i)
  376. {
  377. // Any overtime ?
  378. if (employeeData[i].hours >= STD_HOURS)
  379. {
  380. employeeData[i].overtimeHrs = employeeData[i].hours - STD_HOURS;
  381. }
  382. else // no overtime
  383. {
  384. employeeData[i].overtimeHrs = 0;
  385. }
  386.  
  387. } // for
  388.  
  389.  
  390. } // calcOvertimeHrs
  391.  
  392. //*************************************************************
  393. // Function: calcGrossPay
  394. //
  395. // Purpose: Calculates the gross pay based on the the normal pay
  396. // and any overtime pay for a given week for each
  397. // employee.
  398. //
  399. // Parameters:
  400. //
  401. // employeeData - array of employees (i.e., struct employee)
  402. // theSize - the array size (i.e., number of employees)
  403. //
  404. // Returns: void
  405. //
  406. //**************************************************************
  407.  
  408. void calcGrossPay (struct employee employeeData[], int theSize)
  409. {
  410. int i; // loop and array index
  411. float theNormalPay; // normal pay without any overtime hours
  412. float theOvertimePay; // overtime pay
  413.  
  414. // calculate grossPay for each employee
  415. for (i=0; i < theSize; ++i)
  416. {
  417. // calculate normal pay and any overtime pay
  418. theNormalPay = employeeData[i].wageRate *
  419. (employeeData[i].hours - employeeData[i].overtimeHrs);
  420. theOvertimePay = employeeData[i].overtimeHrs *
  421. (OT_RATE * employeeData[i].wageRate);
  422.  
  423. // calculate gross pay for employee as normalPay + any overtime pay
  424. employeeData[i].grossPay = theNormalPay + theOvertimePay;
  425. }
  426.  
  427. } // calcGrossPay
  428.  
  429. //*************************************************************
  430. // Function: calcStateTax
  431. //
  432. // Purpose: Calculates the State Tax owed based on gross pay
  433. // for each employee. State tax rate is based on the
  434. // the designated tax state based on where the
  435. // employee is actually performing the work. Each
  436. // state decides their tax rate.
  437. //
  438. // Parameters:
  439. //
  440. // employeeData - array of employees (i.e., struct employee)
  441. // theSize - the array size (i.e., number of employees)
  442. //
  443. // Returns: void
  444. //
  445. //**************************************************************
  446.  
  447. void calcStateTax (struct employee employeeData[], int theSize)
  448. {
  449.  
  450. int i; // loop and array index
  451.  
  452. // calculate state tax based on where employee works
  453. for (i=0; i < theSize; ++i)
  454. {
  455. // Make sure tax state is all uppercase
  456. if (islower(employeeData[i].taxState[0]))
  457. employeeData[i].taxState[0] = toupper(employeeData[i].taxState[0]);
  458. if (islower(employeeData[i].taxState[1]))
  459. employeeData[i].taxState[1] = toupper(employeeData[i].taxState[1]);
  460.  
  461. // calculate state tax based on where employee resides
  462. if (strcmp(employeeData[i].taxState, "MA") == 0)
  463. employeeData[i].stateTax = employeeData[i].grossPay * MA_TAX_RATE;
  464. else if (strcmp(employeeData[i].taxState, "NH") == 0)
  465. employeeData[i].stateTax = employeeData[i].grossPay * NH_TAX_RATE;
  466. else if (strcmp(employeeData[i].taxState, "VT") == 0)
  467. employeeData[i].stateTax = employeeData[i].grossPay * VT_TAX_RATE;
  468. else if (strcmp(employeeData[i].taxState, "CA") == 0)
  469. employeeData[i].stateTax = employeeData[i].grossPay * CA_TAX_RATE;
  470.  
  471.  
  472. // TODO: Fix the state tax calculations for VT and CA ... right now
  473. // both are set to zero
  474. // else if (strcmp(employeeData[i].taxState, "VT") == 0) commeted out by me
  475. // employeeData[i].stateTax = 0;
  476. // else if (strcmp(employeeData[i].taxState, "CA") == 0) commeted out by me
  477. // employeeData[i].stateTax = 0; commeted out by me
  478. else
  479. // any other state is the default rate
  480. employeeData[i].stateTax = employeeData[i].grossPay * DEFAULT_TAX_RATE;
  481. } // for
  482.  
  483. } // calcStateTax
  484.  
  485. //*************************************************************
  486. // Function: calcFedTax
  487. //
  488. // Purpose: Calculates the Federal Tax owed based on the gross
  489. // pay for each employee
  490. //
  491. // Parameters:
  492. //
  493. // employeeData - array of employees (i.e., struct employee)
  494. // theSize - the array size (i.e., number of employees)
  495. //
  496. // Returns: void
  497. //
  498. //**************************************************************
  499.  
  500. void calcFedTax (struct employee employeeData[], int theSize)
  501. {
  502.  
  503. int i; // loop and array index
  504.  
  505. // calculate the federal tax for each employee
  506. for (i=0; i < theSize; ++i)
  507. {
  508.  
  509. // Federal tax is calculated as gross pay * FED_TAX_RATE
  510. employeeData[i].fedTax = employeeData[i].grossPay * FED_TAX_RATE;
  511. // Fed Tax is the same for all regardless of state
  512. //employeeData[i].fedTax = 0; commeted out by me
  513.  
  514.  
  515.  
  516. } // for
  517.  
  518. } // calcFedTax
  519.  
  520. //*************************************************************
  521. // Function: calcNetPay
  522. //
  523. // Purpose: Calculates the net pay as the gross pay minus any
  524. // state and federal taxes owed for each employee.
  525. // Essentially, their "take home" pay.
  526. //
  527. // Parameters:
  528. //
  529. // employeeData - array of employees (i.e., struct employee)
  530. // theSize - the array size (i.e., number of employees)
  531. //
  532. // Returns: void
  533. //
  534. //**************************************************************
  535.  
  536. void calcNetPay (struct employee employeeData[], int theSize)
  537. {
  538. int i; // loop and array index
  539. float theTotalTaxes; // the total state and federal tax
  540.  
  541. // calculate the take home pay for each employee
  542. for (i=0; i < theSize; ++i)
  543. {
  544. // calculate the total state and federal taxes
  545. theTotalTaxes = employeeData[i].stateTax + employeeData[i].fedTax;
  546.  
  547. employeeData[i].netPay = employeeData[i].grossPay - (employeeData[i].stateTax + employeeData[i].fedTax);
  548.  
  549. // calculate the net pay
  550. // employeeData[i].netPay = 0;
  551.  
  552. } // for
  553.  
  554. } // calcNetPay
  555.  
  556. //*************************************************************
  557. // Function: calcEmployeeTotals
  558. //
  559. // Purpose: Performs a running total (sum) of each employee
  560. // floating point member in the array of structures
  561. //
  562. // Parameters:
  563. //
  564. // employeeData - array of employees (i.e., struct employee)
  565. // employeeTotals - structure containing a running totals
  566. // of all fields above
  567. // theSize - the array size (i.e., number of employees)
  568. //
  569. // Returns: employeeTotals - updated totals in the updated
  570. // employeeTotals structure
  571. //
  572. //**************************************************************
  573.  
  574. struct totals calcEmployeeTotals (struct employee employeeData[],
  575. struct totals employeeTotals,
  576. int theSize)
  577. {
  578.  
  579. int i; // loop and array index
  580.  
  581. // total up each floating point item for all employees
  582. for (i = 0; i < theSize; ++i)
  583. {
  584. // add current employee data to our running totals
  585. employeeTotals.total_wageRate += employeeData[i].wageRate;
  586. employeeTotals.total_hours += employeeData[i].hours;
  587. employeeTotals.total_overtimeHrs += employeeData[i].overtimeHrs;
  588. employeeTotals.total_grossPay += employeeData[i].grossPay;
  589. employeeTotals.total_stateTax += employeeData[i].stateTax;
  590. employeeTotals.total_fedTax += employeeData[i].fedTax;
  591. employeeTotals.total_netPay += employeeData[i].netPay;
  592.  
  593. } // for
  594.  
  595. return (employeeTotals);
  596.  
  597. } // calcEmployeeTotals
  598.  
  599. //*************************************************************
  600. // Function: calcEmployeeMinMax
  601. //
  602. // Purpose: Accepts various floating point values from an
  603. // employee and adds to a running update of min
  604. // and max values
  605. //
  606. // Parameters:
  607. //
  608. // employeeData - array of employees (i.e., struct employee)
  609. // employeeTotals - structure containing a running totals
  610. // of all fields above
  611. // theSize - the array size (i.e., number of employees)
  612. //
  613. // Returns: employeeMinMax - updated employeeMinMax structure
  614. //
  615. //**************************************************************
  616.  
  617. struct min_max calcEmployeeMinMax (struct employee employeeData[],
  618. struct min_max employeeMinMax,
  619. int theSize)
  620. {
  621.  
  622. int i; // array and loop index
  623.  
  624. // if this is the first set of data items, set
  625. // them to the min and max
  626. employeeMinMax.min_wageRate = employeeData[0].wageRate;
  627. employeeMinMax.min_hours = employeeData[0].hours;
  628. employeeMinMax.min_overtimeHrs = employeeData[0].overtimeHrs;
  629. employeeMinMax.min_grossPay = employeeData[0].grossPay;
  630. employeeMinMax.min_stateTax = employeeData[0].stateTax;
  631. employeeMinMax.min_fedTax = employeeData[0].fedTax;
  632. employeeMinMax.min_netPay = employeeData[0].netPay;
  633.  
  634. // set the max to the first element members
  635. employeeMinMax.max_wageRate = employeeData[0].wageRate;
  636. employeeMinMax.max_hours = employeeData[0].hours;
  637. employeeMinMax.max_overtimeHrs = employeeData[0].overtimeHrs;
  638. employeeMinMax.max_grossPay = employeeData[0].grossPay;
  639. employeeMinMax.max_stateTax = employeeData[0].stateTax;
  640. employeeMinMax.max_fedTax = employeeData[0].fedTax;
  641. employeeMinMax.max_netPay = employeeData[0].netPay;
  642.  
  643. // compare the rest of the items to each other for min and max
  644. for (i = 1; i < theSize; ++i)
  645. {
  646.  
  647. // check if current Wage Rate is the new min and/or max
  648. if (employeeData[i].wageRate < employeeMinMax.min_wageRate)
  649. {
  650. employeeMinMax.min_wageRate = employeeData[i].wageRate;
  651. }
  652.  
  653. if (employeeData[i].wageRate > employeeMinMax.max_wageRate)
  654. {
  655. employeeMinMax.max_wageRate = employeeData[i].wageRate;
  656. }
  657.  
  658. // TODO: do the same checking for all the other min and max items
  659. // ... just repeat the two "if statements" with the right
  660. // reference between the specific min and max fields and
  661. // employeeData array of structures item.
  662.  
  663.  
  664. } // else if
  665.  
  666. // return all the updated min and max values to the calling function
  667. return (employeeMinMax);
  668.  
  669. } // calcEmployeeMinMax
  670.  
Success #stdin #stdout 0.01s 5284KB
stdin
51.0   
    42.5
    37.0
    45.0
    40.0
stdout
Enter hours worked by emp # 098401: 
Enter hours worked by emp # 526488: 
Enter hours worked by emp # 765349: 
Enter hours worked by emp # 034645: 
Enter hours worked by emp # 127615: 

*** Pay Calculator ***

---------------------------------------------------------------------------------
Name                Tax  Clock# Wage   Hours  OT   Gross   State  Fed      Net
                   State                           Pay     Tax    Tax      Pay
---------------------------------------------------------------------------------
Connie Cobol         MA  098401 10.60  51.0  11.0  598.90  29.95  149.73   419.23
Mary Apl             NH  526488  9.75  42.5   2.5  426.56   0.00  106.64   319.92
Frank Fortran        VT  765349 10.50  37.0   0.0  388.50  23.31   97.12   268.07
Jeff Ada             NY  034645 12.25  45.0   5.0  581.88  46.55  145.47   389.86
Anton Pascal         CA  127615 10.00  40.0   0.0  400.00  28.00  100.00   272.00
---------------------------------------------------------------------------------
Totals:                         53.10 215.5  18.5 2395.84 127.81  598.96  1669.07
Averages:                       10.62  43.1   3.7  479.17  25.56  119.79   333.81
Minimum:                         9.75  51.0  11.0  598.90  29.95  149.73   419.23
Maximum:                        12.25  51.0  11.0  598.90  29.95  149.73   419.23