Question: Styles Problem Statement You have been asked to write a program for a retail store that will allow them to calculate discounts for their employees


Styles Problem Statement You have been asked to write a program for a retail store that will allow them to calculate discounts for their employees when they buy items. Discounts are based on number of years worked as well as if the employee is a manager or hourly employee. They are also allowed no discount once they have received $200 in discounts for the year. INPU The application must be able to collect the following "required information for each employee: 1. Name (required) 2. Number of years employed (required, numeric, 90) 3. Total amount of previous purchases before discount (required, numeric, 90 4. Employee status (employee or manager) 5. Total of today's purchase (required, numeric, >=0) OUTPUT There are two distinct areas required for output 1. For each employee display the following a Name b. Employee discount percentage C. YTD Amount of discount in dollars d. Total purchase today before discount e Employee discount this purchase Total with discount 2. Calculate the total for all employees for today's date a Total before discount for the day b. Total after discounts applied ROCES Employee discount standard Years of Employment 1-3 Years Management 20% Hourly 100% ears 30% 7-10 Years 11-15 Years More than 15 Years 20% 25% 40% YTD discount in dollars = total purchase before today discount
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
