Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need this done in c++ please and thank you! 13.10.1 Programming Exercise For this exercise, you will be modifying a program that originally appeared

I need this done in c++ please and thank you!

image text in transcribed

13.10.1 Programming Exercise For this exercise, you will be modifying a program that originally appeared as Programming Exercise 1 in Section 11.14. In the original exercise you were asked to do the following: Read from a file a person's name, Social Security number, wage, the number of hours worked in a week and status. If a person is a full time employee, $5.00 is deducted from their wages for union fees. A person is full time if they have an F as the output, you must display the person's name, Social Security number, wage, number of hours, straight time pay, overtime pay, whether they are a part time or full time employee, and their net pay. Make sure the output is formatted into rows and columns and includes the appropriate titles and column headings. Your job is to create a structure called Employee which contains the fields identified above. Use and array of structures to hold your data. Instead of having to pass all the parallel arrays to the various functions, you can simply pass your array of structures. Below is a copy of the same data file used in the exercise in 11.14. Data: Use the following information for your data file: John Smith 123-09-8765 9.0046F Molly Brown 432-89-7654 9.50 40 F Tim Wheeler 239-34-3458 11.25 83F Keil Wader 7628465436.5035P Trish Dish 798-65-9844 7.52 40P Anthony Lei 934-43-9843 9.50 56F Kevin Ashes 765-94-7343 4.50 30 P Cheryl Prince 9835490004.6545F Kim Cares 343-11-2222 10.00 52F Dave Cockroach 3569812365.7548F Will Kusick 232-45-2322 15.0045P

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M Kroenke, David J Auer

6th Edition

0132742926, 978-0132742924

More Books

Students also viewed these Databases questions