Question: could you demonstrate two ways to do this problem and explain the final step is showing error. Im new to programming and really need to
buld you show two different ways to do this in C++. 1. Sebmat as one tia of tyie "spe goribeitdt) The Hrepan Detallo: for ejch of the encheret. 2. saves these inguts fucte artan is aloit iting. enteret as requethe in ates 1 ibovel. Note: Hous to the prograps and bethe fiom Mre preo en. 2. Write contimenti ap vour suat ments. 1. Mantais pioger inseitubior. neseded above amy oeher fomat fics soch at pat, abrd, fec peng, nte caninot anpever queitions oe your pregeam that yeu mbevitind. aceepted) aet. map , unordered map, mutiet, multama , ate l. Programmins Assicnment - Employte Data Processing Submission: 1. Submit as one file of type. "icop 2. Submit it on the Btackbeatd within the due dute and time ISuberittien via emai will NoT he consideredi7) 3. Assignment ID: PA Emplovec Data Processing The Program Details: implement a program in Cit that dees the following 1. Requests the user and Reads the input of at leart 10 Fimployte ful names ifhin names, middie initial, and last names). pay rate per hour, and the number of hours worked per week (for at least 50 weeks) for each of the emplayees. 2. Saves those inputs fuse arrays to store them) 3. Calculates the amount of salary earncd per week, averace salary of weekh 4. Displays the output, l.e. employce name (with fiest name, midole initia?, tast name in saparate columns), each Week salary; average of 6 weeks salary. Mahe sure the output format is beat and follows a column format with proper column headings. (Your preeram munt work for any similar input data entered as requested in step 1 abovel MOTE? 1. Write a Top-llevel Comment Aanner vils a mulo-comment operator, boring information such as: your firstname, your lastname, course number, section number, course title, assignment id or: number, semester and year, a lane or two deserbing what the prearam in about, discribing the input to the program, and output fram the program 2. Write comments to your statements 3. Maintain proper indentation. 4. Use Modularity (write necessary sub functions, if aryi or any othet C+t programming constructs needed. 5. Make sure the program is debuesed and tested to see that in is working ar per the rpecitieations above. 6. Submission of any file other than epp type will get ZERO points (NO links, NO zpped fhes, QR. any other format files such as pdi, word, iPG. pres, etel) 7. NO PLAGIARISM in ANY FORM. The instructor may ask questions and not elve any points if you cannot answer questions on your program that you submitted. 8. Submission on only the Blackboard will be graded (ne other form of sulbmission will be accepted) 9. DO NOT USE ANY BUIT-IN DATA STRUCTTUES fruch as vector, list, 5tack; queve, dequese set, map, unordered map, multiset, multimap, ete)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
