CSCI1301 – Computer Science I Spring 2020 Programming Assignment 3 Due: March 22nd, 2020 Missy Sippy Industries, LLP is a company that sell product endorsements by Social Media Influencers. The sales...

I have a budget of $30:). I really need help with this assignment


CSCI1301 – Computer Science I Spring 2020 Programming Assignment 3 Due: March 22nd, 2020 Missy Sippy Industries, LLP is a company that sell product endorsements by Social Media Influencers. The sales staff for Missy Sippy travel their regional areas contacting potential clients that desire to have their products receive positive ratings from the influencers that Missy Sippy represents. Your project is to develop an computer program that will help the company reimburse their sales staff for allowable expenses incurred during the month. Each day, the sales staff will enter receipts for their expenses. At the end of the month, your program will read in this file and generate a reimbursement report. Input to your program will be provided in a file named ExpensesMarch.txt which can be downloaded from D2L and is found in the course content folder. Your program will process the data in this file and generate a report. INPUT FILE: The first line of the input file will contain the Month and Year of the transactions being processed. The line will be followed by a block of transactions for each of the sales staff at Missy Sippy. The first line of each transaction block contains the name of the sales whose receipt transaction follow. Each line of receipt transactions contains three numeric values: date (int), type (int), amount (double). 1) Date – an integer value containing the day of the month the receipt was entered for 2) Type – an integer value identifying the type of expense the receipt was entered for a. 01 – Mileage b. 02 – Food c. 03 – Hotel d. 04 – Miscellaneous 3) Amount – the value of the reimbursement item a. For Mileage this is the distance travelled and will be multiplied by $0.52 to calculate the dollar amount b. For all others this is the actual dollar amount PROCESSING: The following processing rules will be applied to the transactions: 1) Mileage a. amount will be multiplied by $0.52 per mile to calculate the dollar reimbursement b. A maximum of one mileage receipt will be processed per day. Additional receipts will not be reimbursed. 2) Food a. A maximum of three meal receipts can be entered for a single day. Additional receipts will not be reimbursed. b. A single meal receipt cannot exceed $15.00. Such receipts will only be reimbursed up to the maximum. 3) Hotel a. A maximum of one hotel receipt will be processed per day. Additional receipts will not be reimbursed. b. A single hotel receipt cannot exceed $120.00. Such receipts will only be reimbursed up to the maximum amount. 4) Miscellaneous a. A maximum of one miscellaneous receipt will be processed per day. Additional receipts will not be reimbursed. b. A single miscellaneous receipt cannot exceed $20.00. Such receipts will only be reimbursed up to the maximum amount. 5) Totals a. Totals will be generated for each employee that include dollar amounts claimed for each type, dollar amounts allowed for each type, and total dollar reimbursement for each employee b. Grand totals for all employees will be calculate that include total dollars claimed for each type, total dollars allowed for each type, and total dollars reimbursed OUTPUT: The final output report will look like the following example: March 2020 Expense Report Frank A Richardson Claimed Allowed Mileage 1,040.00 1,040.00 Food 1,028.63 900.00 Hotel 9,326.18 9,326.00 Miscellaneous 297.45 243.18 TOTAL 11,509.18 Della Ware Claimed Allowed Mileage 932.00 932.00 Food 981.54 900.00 Hotel 8,326.18 8,300.00 Miscellaneous 297.45 297.45 TOTAL 10,429.45 ------------------------------------------ TOTALS Claimed Allowed Mileage 1,972.00 1,972.00 Food 2,010.17 1,800.00 Hotel 17,652.36 17,626.00 Miscellaneous 594.90 540.63 TOTAL 20,163.63 Output format must be the same as what is shown in the example. The following is a link to a webpage that provides a checklist of good programming conventions which should be considered when you write your code. https://www.cs.uky.edu/~raphael/checklist.html https://www.cs.uky.edu/~raphael/checklist.html
Mar 31, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here