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 02:30
Write a program that takes in 3 inputs [players (int type), expected game time (double type), team (char type)] and calculates actual game time (double) based on the following conditions: if the number of players or the expected game time is less than or equal to zero, it should output wrong input if the number of players is greater than 0 and less than or equal to 6 and if they are on the â€r’ or â€r’ team, their game time will be 10% faster. and if they are on the â€b’ or â€b’ team, their game time will be 15% faster. and if they are on the â€y’ or â€y’ team, their game time will be 20% faster. and if they are on any other team, they will play 0% faster. if the number of players is greater than 6 but less than or equal to 12 and if they are on the â€r’ or â€r’ team, their game time will be 20% faster. and if they are on the â€b’ or â€b’ team, their game time will be 25% faster. and if they are on the â€y’ or â€y’ team their game time will be 30% faster. and if they are on any other team, they will play 0% faster. if the number of players is greater than 12 but less than or equal to 18 and if they are on the â€r’ or â€r’ team, their game time will be 30% faster. and if they are on the â€b’ or â€b’ team, their game time will be 35% faster. and if they are on the â€y’ or â€y’ team, their game time will
Answers: 2
question
Computers and Technology, 23.06.2019 01:50
Write a program that uses a random number generator to generate a two digit positive integer and allows the user to perform one or more of the following operations: a. double the number. b. reverse the digits of the number. c. raise the number to the power of 2, 3, or 4. d. sum the digits of the number. e. if the number is a two-digit number, then raise the first digit to the power of the second digit. f. if the number is a three-digit number and the last digit is less than or equal to 4, then raise the first two digits to the power of the last digit. after performing an operation if the number is less than 10, add 10 to the number. also, after each operation determine if the number is prime. each successive operation should be performed on the number generated by the last operation. your program should not contain any global variables and each of these operations must be implemented by a separate function. also, your program should be menu driven. 7. (fraction calculator) write a program that
Answers: 1
question
Computers and Technology, 24.06.2019 00:50
Which of the following is not a key player in the sale of travel products?
Answers: 2
question
Computers and Technology, 24.06.2019 02:00
Write an expression that will cause the following code to print "equal" if the value of sensorreading is "close enough" to targetvalue. otherwise, print "not equal". ex: if targetvalue is 0.3333 and sensorreading is (1.0/3.0), output is:
Answers: 1
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
Social Studies, 05.05.2020 15:07
Questions on the website: 13722361