Write a program that prompts the user for hours worked, shift, and, if the shift is 2 or 3, whether the worker elects the retirement (1 for yes, 2 for no). Display: Hours worked Shift Hourly pay rate Regular pay Overtime pay Total of regular and overtime pay Retirement deduction, if any Net pay.
Q: Table 1 Total of sales (RM) Commission (%) >= 10,000.00 >= 5,000.00 && < 10,000.00 |< 5,000.00 10 5…
A: C++ program: //including header files #include <iostream> //using standard namespace…
Q: A manufacturing unit of electronic devices manufactures keyboard, monitor and charger in three…
A: Plant A: Plant A produces 40 keyboards per hour To produce 8000 keyboards, the plant takes…
Q: In a lake, the population of a particular fish species is about 1 million. Fish reproduce by 20% of…
A: Solution,
Q: A book salesperson living in New York needs to visit clients in Utah, Jersey, LA, and Milan within a…
A: Given Data : The distance of each city from the other cities. To find : The distance traveled…
Q: IKEO is a furniture manufacturer which produces two sizes of wood blocks (type A and B) that are…
A: To do: Write a complete C++ program to help the manufacturer determine the greatest profit…
Q: Question 1 A carton of 12 rechargeable batteries contains two batteries that are defective. (c)…
A: C)There is 55 ways that can an inspector choose 3 of the batteries and get the one that is…
Q: 3) An electronics company produces transistors, resistors, and computer chips. Each transistor…
A: According to the problem specification, one electronic company produce the three different types of…
Q: A computer company produces hardware and software using the same plant and labor. The total cost of…
A: According to the information given:- We have to choose correct firm expression of scale on the basic…
Q: You have 6 roses with you, and now you need to decide what bouquets to make in order to maximize…
A: The answer is given in the following steps for your reference.
Q: In the current distribution system, demand at the Dallas, San Antonio, Wichita, and Kansas City…
A: Managerial Report 1. The following distribution schedule and charges will apply. Total cost = $…
Q: Following on your job in modelling the employee assignments from the previous practical, you’ve now…
A: Answer: We have draw the ERD of the given entity and their attribute Description of the ERD…
Q: In a lake, the population of a particular fish species is about 1 million. Fish reproduce by 20% of…
A:
Q: Question: Suppose there are n people in a group, each aware of a scandal no one else in the group…
A:
Q: Q3: Suppose you have the fallowing information for weekly product in a Local factory then: افرض أن…
A: The question has three supports. Find the product quantity and product sales when entered a name in…
Q: A computer company produces hardware and software using the same plant and labor. The total cost of…
A: For the product-specific case for software, the firm experiences
Q: A group of n tourists must cross a wide and deep river with no bridge in sight. They notice two…
A: given : A group of n tourists must cross a wide and deep river with no bridge in sight. They notice…
Q: - `bsal` = beginning salary (annual salary at time of hire) - `sal77` = annual salary in 1977 -…
A: Logging helps in debugging the complete issue in case of wrong analysis result.
Q: A construction company has four large bulldozers located at four different garages. The bulldozers…
A:
Q: Mr. Cook is the manager of Code cinemas and after a long break the theatres are open to the public…
A: Program plan: Implement a loop that runs the program for a specified number of test cases. Get the…
Q: An engineer working in the quality control laboratory of a construction company is 4800, 5810 and…
A: Hey there, I am writing the required solution based on the above given question. Please do find the…
Q: n assembly line with 30 activities is to be balanced. The total amount of time to complete all 30…
A: 1. Maximum and minimum cycle time Maximum cycle time is total time for all activities= 60 minutes…
Q: t has been observed by management that some faculty members at the university demonstrate a…
A: Given: It has been observed by management that some faculty members at theuniversity demonstrate a…
Q: b) To compare two kids of bumper guards, 6 of each kid were mounted on a car and then the car was…
A: Guard1 Guard 2 127.33 129.00 mean 24.45 14.21 std. dev. 6 6 n
Q: 1) An electrical contractor pays his subcontractors a fixed fee plus mileage for work performed. On…
A: Given data Projects Subcontract or A B C Westside 2 3 4 Federated 6 1…
Q: Problem 3: With the same parameters as in Problem 2, price the Asian call option: The payoff $C_T$…
A: Task : Use the Monte -Carlo algorithm to sample the data value from distribution and approximate…
Q: It has been observed by management that some faculty member at the university demonstrates a…
A: Code: import java.util.*; public class Faculty { //below are the functions with…
Q: It has been observed by management that some faculty member at the university demonstratesa…
A: CODE:- #include<iostream>using namespace std;class Teacher_salary{ public:…
Q: a. Present the results in a normalized form for the given benchmarks for reference machine, machines…
A:
Q: Question 4 An electronics shop sells 6000 headphones in a year and the sales is relatively constant…
A:
Q: Vandelay Industries has 275 sales reps in order to sell its latex products, each to be assigned to…
A: To sell its latex products, Glassdoor Industries has 275 sales reps, each of whom is allocated to…
Q: A call center has 60 employees on‐line, each of whom make one phone call every 3 min on average, and…
A: Solution a) The correct answer is 1200 erlangs 1 phone call with a call handling of 3 min 1 x 20 =…
Q: Formulate an optimization model for this problem.
A: Time 12pm - 9pm Constraint Min 4 Hour Max 8 Hours Optimization Model Employee#1 after 4pm E1 - 5…
Q: Suppose that your company is trying to decide whether it should buy special equipment to prepare…
A: Solution is in Step 2.
Q: You need a home loan of $55,000 after your down payment. How much will your monthly house payment be…
A: considering the question, I am using the calculation method for amortized payment of loans. I will…
Q: Suppose you want to pay back someone with 28 BDT and you have unlimited supply of 1 taka, 2 taka, 5…
A: The main target is to use minimum number of notes. So we have to pay with highest possible…
Q: A store purchased x packages of AAA batteries at $5 per package and y packages of AA batteries at $7…
A: GIVEN: A store purchased x packages of AAA batteries at $5 per package and y packages of AA…
Q: Calculate electricity bill based on the following tariff: Tariff Unit Rate For the first 200 kWh (1…
A: 1 RM = 100 Sen Finally, the output is displayed with 2 point precision and initially, the amount…
Q: It has been observed by management that some faculty member at the university demonstrates a…
A: The program is implemented in C++ with structured approach. The function absent() is overloaded four…
Q: In a lake, the population of a particular fish species is about 1 million. Fish reproduce by 20% of…
A: The answer is given below..
Q: In a lake, the population of a particular fish species is about 1 million. Fish reproduce by 20% of…
A: Answer
Q: You're helping to organize a mini-triathlon event: each of n contestants must first swim 20 laps of…
A: Given data, As per the given data, for a mini-triathlon event, they all will swim alone one by one…
Q: Question 7 • Given pda for {d'b'c* | i = j+ k} (a, ɛ/X) (b, X/e) (c, X/ɛ) (E, ɛ/ Draw a PDA for…
A:
Q: Employees of KB and SONS Consultants Limited are paid at an hourly basics of 25GHS per an hour for…
A: Answer:- Note: since you have not mention about programming language we have provided solution in…
Q: The Mayfree Appliance Company requires sheet metal for its appliances. The company can purchase long…
A: Construct a model that minimizes the cost for M company to produce all of the necessary linear feet…
Q: Do it on R)(using Pnorm) The loaves of rye bread distributed to local stores by a certain bakery…
A: Answer: mean, μ = 30 standard deviation, σ = 2 a) The probability that the loaves are longer than…
Q: Question 4 It has been observed by management that some faculty members at the university…
A: Given: It has been observed by management that some faculty members at the university demonstrate a…
Q: Above ERD will be modified according to following information. In order to correctly analyze the…
A: Given: THE above ERD will be modified according to the following information. In order to correctly…
This is the question. I am unsure how to begin on -
Acme Parts runs a small factory and employs workers who are paid one of three hourly rates depending on their shift: first shift, $17 per hour; second shift, $18.50 per hour; third shift, $22 per hour. Each factory worker might work any number of hours per week; any hours greater than 40 are paid at one and one-half times the usual rate. In addition, second- and third-shift workers can elect to participate in the retirement plan for which 3% of the worker’s gross pay is deducted from the paychecks.
Write a program that prompts the user for hours worked, shift, and, if the shift is 2 or 3, whether the worker elects the retirement (1 for yes, 2 for no). Display:
- Hours worked
- Shift
- Hourly pay rate
- Regular pay
- Overtime pay
- Total of regular and overtime pay
- Retirement deduction, if any
- Net pay.
This is the way the code starts -
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 2 images
- A call center has 60 employees on‐line, each of whom make one phone call every 3 min on average, and talk on average for 2 min. Each call costs 15¢. What is the total traffic in erlangs? How many circuits are required for a GoS of 1%? How much should the yearly (250 working days, 8 working hours a day) lease price be for the company to make a 50% saving in its telephone bills over the first 3 years? Assume the lease set‐up fee of $30,000 should be paid over a period of 3 years.Pretend you have five employees who would like to know exactly how much their bi-weekly pay will be once all of their deductions are taken off. Their weekly pay is as follows: Emp #1. $1100 Emp #2. $1300 Emp #3. $1500 Emp #4. $1700 Emp #5. $2300 *Taxation *Vandelay Industries has 275 sales reps in order to sell its latex products, each to be assigned to one of four marketing teams. If the first team is to have four times as many members as the second team and the third team is to have five times as many members as the fourth team, how can the members be distributed among the teams?
- It has been observed by management that some faculty member at the university demonstrates a lackadaisical attitude toward work. They seldom go to class yet at the end of each month they receive full salary. Management has decided that GHs 200, 300, 400, and 500 will be deducted from a faculty’s salary if he/she offends once, twice, third time and forth time respectively in a month. This means that if a faculty member offends once in a month GHs 200 will be deducted, if a faculty member offends twice in a month, GHs 500 (i.e. 200+300) will be deducted, if a faculty member offends three times in a month GHs 900 (i.e. 200+300+400), will be deducted and if a faculty member offends four times in a month GHs 1,400 (i.e. 200+300+400+500). Assuming all faculty members are on a flat salary rate of GHs 2500.a. Write a program to request for the names of four faculty members and number times he/she has absented him/herself from class. One of them should have absented him/herself once, another…It has been observed by management that some faculty member at the university demonstrates a lackadaisical attitude toward work. They seldom go to class yet at the end of each month they receive full salary. Management has decided that GHs 200, 300, 400, and 500 will be deducted from a faculty’s salary if he/she offends once, twice, third time and forth time respectively in a month. This means that if a faculty member offends once in a month GHs 200 will be deducted, if a faculty member offends twice in a month, GHs 500 (i.e. 200+300) will be deducted, if a faculty member offends three times in a month GHs 900 (i.e. 200+300+400), will be deducted and if a faculty member offends four times in a month GHs 1,400 (i.e. 200+300+400+500). Assuming all faculty members are on a flat salary rate of GHs 2500.a. Write a program to request for the names of four faculty members and number times he/she has absented him/herself from class. One of them should have absented him/herself once, another…It has been observed by management that some faculty members at theuniversity demonstrate a lackadaisical attitude toward teaching. They seldom go to class yet at the end of each month they receive full salary. Management has decided that GHs 200, 300, 400, and 500 will be deducted from a faculty’s salary if he/she offends once, twice, third time and forth time respectively in a month. This means that if a faculty member offends once in a month GHs200 will be deducted, if a faculty member offends twice in a month, GHs 500 (i.e. 200+300) will be deducted, if a faculty member offends three times in a month GHs 900 (i.e. 200+300+400), will be deducted and if a faculty member offends four times in a month GHs 1,400 (i.e. 200+300+400+500). Assuming all faculty members are on a flat salary rate of GHs 2000.a. Write a program to request for the names of four faculty members and number times he/she has absented him/herself from class in a month.One of them should have absented him/herself…
- IKEO is a furniture manufacturer which produces two sizes of wood blocks (type A and B) thatare used to make either a table or a chair. A table is made of a type A and a type B wood blocks,while a chair is made of a type A and two type B wood blocks (See Figure 1) A table makes RM 3 profit, and a chair makes RM 5 profit. If M number of type A and Nnumber of type B wood blocks are produced, how many tables and chairs should themanufacturer make to obtain the greatest profit?For example, let M = 12 and N = 12.By making 4 tables (4 type A and 4 type B) and 4 chairs (4 type A and 8 type B), themanufacturer gain profit as follows,Profit = (RM 3) × 4 + (RM 5) × 4 = RM 32.If the manufacturer makes 2 more tables and 1 less chair, the profit will be increased as follows,Profit = (RM 3) × 6 + (RM 5) × 3 = RM 33.Is this the greatest profit? Write a complete C++ program to help the manufacturer determine the greatest profit obtainfrom making tables and chairs with a given number of M type A and N…[Very Hard] Suppose, you are working in a company ‘X’ where your job is to calculate the profit based on their investment. If the company invests 100,000 USD or less, their profit will be based on 75,000 USD as first 25,000 USD goes to set up the business in the first place. For the first 100,000 USD, the profit margin is low: 4.5%. Therefore, for every 100 dollar they spend, they get a profit of 4.5 dollar. For an investment greater than 100,000 USD, for the first 100,000 USD (actually on 75,000 USD as 25,000 is the setup cost), the profit margin is 4.5% where for the rest, it goes up to 8%. For example, if they invest 250,000 USD, they will get an 8% profit for the 150,000 USD. In addition, from the rest 100,000 USD, 25,000 is the setup cost and there will be a 4.5% profit on the rest 75,000. Investment will always be greater or equal to 25,000 and multiple of 100. Complete the RECURSIVE methods below that take an array of integers (investments) and an iterator (always…A company manufactures two types of trucks. Each truck must go through the painting shop and the assembly shop. If the painting shop were completely devoted to painting type 1 trucks, 800 per day could be painted, whereas if the painting shop were completely devoted to painting type 2 trucks, 700 per day could be painted. If the assembly shop were completely devoted to assembling truck 1 engines, 1500 per day could be assembled, whereas if the assembly shop were completely devoted to assembling truck 2 engines, 1200 per day could be assembled. It is possible, however, to paint both types of trucks in the painting shop. Similarly, it is possible to assemble both types in the assembly shop. Each type 1 truck contributes $1000 to profit; each type 2 truck contributes $1500. Use Solver to maximize the company’s profit
- A company owns the same asset in a ASIAN plant and in a UK plant . It has B $2,000,000 and a salvage value of 20% of B . For tax depreciation purposes, ASIA allows a straight line write-off over 5 years, while the UK allows SL write-off over 8 years. The general managers of the two plants want to know the difference in the depreciation amount for year 5.Following on your job in modelling the employee assignments from the previous practical, you’ve now obtained the following business rules: One Employee supervises Many Employees, and possibly none, and a max of 20. One Employee is supervised by One Employee, and not none. One Employee takes on Many Assignments, and possibly none. One Assignment is taken on by One Employee, and not none. One Assignment takes place in One Section, and not none. One Section appears in Many Assignments, and possibly none. One Section belongs to One Building, and not none. One Building has Many Sections, and possibly none, and a max of 20. You have also been given a small sample of their records, in case this may prove useful. It is below. Assignment No Date Employee No Employee Section Section N Building Start End Supervisor No Building N 8 22/08/2013 2111 B. Johns G1 Canteen G Willis 12h00 19h00 2321 2 9 23/08/2013 2111 B. Johns F3…The Mayfree Appliance Company requires sheet metal for its appliances. The company can purchase long coils of sheet metal in two different widths: 65 inches and 40 inches. The company must purchase the coils by linear foot of length: $1.20 per foot for a 64-inch coil and $1.00 per foot for a 40-inch coil. (This implies that a square foot, say, of the wider coil is less expensive.) Up to 4000 feet of the 65-inch coil is available, and up to 6000 feet of the 40-inch coil is available. There are manufacturing requirements for six different widths: 50, 45, 40, 35, 20, and 10 inches. Mayfree’s requirements are expressed as lengths of the various widths. The company requires 1000 feet of 50-inch width, 2500 feet of 45-inch width, 3000 feet of 40-inch width, 2300 feet of 35-inch width, 1300 feet of 20-inch width, and 2000 feet of 10-inch width. Determine how much of each width coil Mayfree should purchase and how it should cut the coils into various widths to meet its requirements at minimal…