Last active
January 23, 2016 00:33
-
-
Save ryanorsinger/d5efb64016a3a60f0a78 to your computer and use it in GitHub Desktop.
Example Sales Report to practice parsing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Output should include: | |
// - total number of employees | |
// - total number of units sold | |
// - avg units sold per employee | |
// - Then output should share employee production, ordered from highest to lowest # of units | |
// * Units | Full Name | Employee Number | |
// * 5 Bob Boberson 2 | |
Monthly Sales Report | |
Date: 03-17-2015 | |
Office: Codeup | |
=================================================== | |
Employee Number, First Name, Last Name, Sales Units | |
*************************************************** | |
1, Jane, Janeway, 3 | |
3, Tricia, Triciason, 5 | |
4, Jeannette, Jeanson, 4 | |
5, Charles Emmerson III, Winchester, 2 | |
6, Chet, Chedderson, 8 | |
7, Chaiam, Chaiamson, 12 | |
8, Dale, Dalesinger, 1 | |
9, Zig, Ziglar, 50 | |
10, Henry, Kissinger, 1 | |
11, Arthur Herbert, Fonzarelli, 23 | |
12, Betty, Boop, 67 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment