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, 21.06.2019 21:30
Asuccessful format string attack attempted to steal user account information by reading from unauthorized memory. answer the followings with proper explanation a)this attack will lead to violation of which security policies?
Answers: 2
question
Computers and Technology, 22.06.2019 10:10
3. bob is arguing that if you use output feedback (ofb) mode twice in a row to encrypt a long message, m, using the same key each time, it will be more secure. explain why bob is wrong, no matter what encryption algorithm he is using for block encryption (15 points).
Answers: 3
question
Computers and Technology, 22.06.2019 18:30
Kto rozmawia z clamentain przez krótkofalówke w the walking dead która śledzi lee w 4 epizodzie
Answers: 1
question
Computers and Technology, 23.06.2019 06:20
What is a point-in-time measurement of system performance?
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
Health, 10.12.2020 23:10
question
Mathematics, 10.12.2020 23:10
question
Mathematics, 10.12.2020 23:10
question
Mathematics, 10.12.2020 23:10
question
Mathematics, 10.12.2020 23:10
Questions on the website: 13722361