subject
Computers and Technology, 26.03.2020 16:49 Lived

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. INPUT The application must be able to collect the following "required" information for each employee: 1. Name (required) 2. Number of years employed (required, numeric, >0) 3. Total amount of previous purchases before discount (required, numeric, >0) 4. Employee status (employee or manager) 5. Total of today’s purchase 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 f. 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 PROCESS Employee discount standard Years of Employment Management Hourly 1-3 Years 20% 10% 4-6 Years 24% 14% 7-10 Years 30% 20% 11-15 Years 35% 25% More than 15 Years 40% 30% YTD discount in dollars = total purchase before today * discount Employee discount this purchase: total purchase today * discount if < $200. If over $200 previously no discount. If less than $200 prior to today but today takes them over $200 then only allow the amount to get them to $200. Total with discount: Total * discount allowed COMMAND BUTTONS 1. Calculate-Calculates each employees total with discount and displays item # 1 above 2. Next Employee-clears the employee input so the next employee sale can be entered 3. Discount Summary-Displays the summary items from item # 2 above for all employees each day (daily totals) 4. Exit

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 20:00
What is the term for water wave that is created by an underwater earthquake
Answers: 1
question
Computers and Technology, 23.06.2019 00:00
What season was better from fortnite?
Answers: 2
question
Computers and Technology, 23.06.2019 05:20
Which operating system is a version of linux?
Answers: 1
question
Computers and Technology, 23.06.2019 07:30
Write a program that inserts the digits of an integer into an array in originalorderfollowed by reverse order. first, promptthe user to enter a positive integer(> 0). determine the number of digits of the integer. create a dynamically allocated integer arrayof a size twice the number of digits.now insert the digits in original order which will occupy half of the array. then, insert the digits in reverse order.finally, output thedigits in thearray.use at least two functions to organize your program.
Answers: 3
You know the right answer?
You have been asked to write a program for a retail store that will allow them to calculate discount...
Questions
question
History, 19.04.2021 01:20
question
English, 19.04.2021 01:20
question
History, 19.04.2021 01:20
question
Computers and Technology, 19.04.2021 01:20