All your Writing needs covered

Sort facitilites | Computer Science homework help

Calculate the price
of
your order:

275 words
+
Approximate price
$ 0.00

Sort facitilites | Computer Science homework help    Part A: Using the Sort Facitilites In this lab, you are to read your employee file from the Wk6  lab, sort by first name, and write out to a new file called EmployeesSortedFirst.txt You may use any of the sorting methods we have studied this term, or you can use the sort facilities of the Standard Template Library.   Your output would look like this: Foley Bradley 123-45-6784 68000.07 Storer Bruce 123-45-6772 68000.19 Neuschafer Darryl 123-45-6776 68000.15 Clement Edwin 123-45-6789 68000.01 Delemar James 123-45-6787 68000.04 Currea James 123-45-6788 68000.02 Eastwood John 123-45-6786 68000.05 Hancock Jose 123-45-6782 68000.09 Marro Joseph 123-45-6778 68000.13 Shaw Kim 123-45-6774 68000.17 Watkins Lonnell 123-45-6770 68000.21 Leung Michael 123-45-6779 68000.12 Hewitt Michael 123-45-6781 68000.10 Tallent Nehemiah 123-45-6771 68000.20 Williams Reed 123-45-6769 68000.22 Englert Rhiannon 123-45-6785 68000.06 Smith Robert 123-45-6773 68000.18 Goode Teresa 123-45-6783 68000.08 Day Terry 123-45-6788 68000.03 Nelson Tracy 123-45-6777 68000.14 Hill Vanessa 123-45-6780 68000.11 SaleemZobair 123-45-6775 68000.16    Part B: Enhancing Our Payroll System Some of our labs have been based on a flat employee file, which was introduce in the week 6 EC.   The file in week 6 looked like this.  Clement Edwin 123-45-6789 68000.01 Currea James 123-45-6788 68000.02 Day Terry 123-45-6788 68000.03 Delemar James 123-45-6787 68000.04 Eastwood John 123-45-6786 68000.05 Englert Rhiannon 123-45-6785 68000.06 Foley  Bradley 123-45-6784 68000.07 Goode Teresa 123-45-6783 68000.08 Hancock Jose 123-45-6782 68000.09 Hewitt Michael 123-45-6781 68000.10 Hill Vanessa 123-45-6780 68000.11 Leung  Michael 123-45-6779 68000.12 Marro Joseph 123-45-6778 68000.13 Nelson Tracy 123-45-6777 68000.14 Neuschafer Darryl 123-45-6776 68000.15 SaleemZobair 123-45-6775 68000.16 Shaw Kim 123-45-6774 68000.17 Smith Robert 123-45-6773 68000.18 Storer Bruce 123-45-6772 68000.19 Tallent Nehemiah 123-45-6771 68000.20 Watkins Lonnell 123-45-6770 68000.21 Williams Reed 123-45-6769 68000.22 Notice, in this design, all workers are on salary. But many companies today hire hourly workers on a part time basis. Suppose the company needs to enhance its payroll system by having two types of records, hourly records, which begin with H, and salaried records which begin with S. If Edwin Clement becomes a salaried worker, his record would look like this:  S Clement Edwin 123-45-6789 68000.01 If James Currea becomes an hourly worker, his payroll record would look like this:  H Currea James 123-45-6788 28.50 47  Here, the 28.50 is James’ hourly wage rate, and 47 is the number of hours he worked in the two week period. (We are going to do a bi-weekly payroll)The file would then look like this: S Clement Edwin 123-45-6789 26800.01 H Currea James 123-45-6788 28.50 45 S Day Terry 123-45-6788 48000.03 H Delemar James 123-45-6787 38.50 20 S Eastwood John  123-45-6786 58000.05 H Englert Rhiannon 123-45-6785 22.50 27 S Foley Bradley 123-45-6784 38000.07 H Goode Teresa 123-45-6783 28.00 45 S Hancock Jose 123-45-6782 28000.09 H Hewitt Michael 123-45-6781 25.00 20 S Hill Vanessa 123-45-6780 38000.11 S Leung Michael 123-45-6779 18000.13 H Marro Joseph 123-45-6778 25.00 37 H Nelson Tracy 123-45-6777 28.50 47 S Neuschafer Darryl 123-45-6776 28000.15 H SaleemZobair 123-45-6775 25.00 25 S Shaw Kim 123-45-6774 38000.17 H Smith Robert 123-45-6773 38.50 47 H Storer Bruce 123-45-6772 15.00 30 S Tallent Nehemiah 123-45-6771 28000.19 S Watkins Lonnell 123-45-6770 18000.21 H Williams Reed 123-45-6769 12.50 35 As in the Week 6 lab, your program should read the .txt file above, calculate the biweekly pay by dividing the annual salary by 26 for salaried workers and by multiplying the hourly rate times the number of hours for hourly workers.Your output should be a .txt file with employee names, and biweekly pay.

«VPNEW»

Unlock your academic potential with Vintage-paper.com! Place your essay order today and experience top-notch writing services that guarantee academic success. Our expert writers are ready to craft customized papers that will exceed your expectations.Don't wait, order now and elevate your grades

Order Now

Basic features

  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support

On-demand options

  • Writer's samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading

Paper format

  • 275 words per page
  • 12pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, CHicago/Turabian, Havard)

Guaranteed originality

We guarantee 0% plagiarism! Our orders are custom made from scratch. Our team is dedicated to providing you academic papers with zero traces of plagiarism.

Affordable prices

We know how hard it is to pay the bills while being in college, which is why our rates are extremely affordable and within your budget. You will not find any other company that provides the same quality of work for such affordable prices.

Best experts

Our writer are the crème de la crème of the essay writing industry. They are highly qualified in their field of expertise and have extensive experience when it comes to research papers, term essays or any other academic assignment that you may be given!

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00

Expert paper writers are just a few clicks away

Place an order in 3 easy steps. Takes less than 5 mins.