Question: Solve this using struct in C++ An out example is below Please comment out throughout the code so I dont get lost. T-Mobile Wi-Fi 12:40
T-Mobile Wi-Fi 12:40 PM 26% Back LabAssignment4.doc ab Assignment Due 10/8/2018, 15 Points Structures A structure (struct) allows us to store a record that comprises multiple fields that may be a different data type (i.e. several strings, some integers and floats). A structure can be stored in an array to allow easier access to any of the records' fields. . The struct consists of an employee record's fields a Last Name (string) b First Name (string) e Hours (float) d. Pay Rate Per Hour (float) e Tax Rate (float) 2. Load the following records into the structure "De Bosse", "Ian D.", 34.5, 45.75, 0.05, "Smithers III","Weylan K.S.", 40.1, 28.75, 0.04, "Simpson", "Homer J.", 40, 23.44, 0.023, "Haddington Smith", "Janet K.B.", 33.9,35.75, 0.05, "Jackson", "Sarah L.", 39.45, 17.88, 0.15, "Kirk", "James Tiberius", 55.6, 89.65, 0.075, "Griffin", "Peter R.". 25.6, 17.88, 0.04 "Jones y Enrique", "Alias N.", 28.9,37.88, 0.04.5 3. Display the struct records fields and the Gross, Taxes Withheld, and Net pay calculation a Gross Pay will be calculated from the fields Hours and Pay Rate (i.e. Hours Pay Rate) b Taxes Withheld from GrossTax Rate field e. Net Pay calculated from Gross Taxes Withheld 4. Allow user to find one employee based on index location (possibly some sort of menu interface?) s. Allow user to change one or more fields of one particular record Dashboard Calendar To Do Notifications Inbox
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
