Design a program that calculates the average number of days

Assignment Help Operation Management
Reference no: EM13225781

Design a program that calculates the average number of days a company's employees are absent. The program should have the following functions:

A function that asks the user for the number of employees in the company. This value should be returned as an int. (The function accepts no arguments.)

A function that accepts one argument: the number of employees in the company. The function should ask the user to enter the number of days each employee missed during the past year. The total of these days should be returned as an int.

A function that takes two arguments: the number of employees in the company and the total number of days absent for all employees during the year. The function should return, as a float, the average number of days absent. (This function does not perform screen output and does not ask the user for input.)

 

 

Reference no: EM13225781

Questions Cloud

Which machine should she pick : If demand for Karla's candles is 25,000, which machine should she pick?
How many joules of energy are stored in the battery : A double-A (AA) rechargeable battery is rated at 1.2V, 2100mA-h ( mili-amp hours) 1- how many coulombs of charge can this battery hold 2- how many joules of energy are stored in the battery
Describe the boron trifluoride molecule : Consider the boron trifluoride molecule, BF3, that results from the bonding of three fluorine atoms and one hybridized boron atom. A) The nub that is seen just below the boron central atom is one of the ends of a hybrid sp2 orbital.
In what ways is state power changing : In what ways is state power changing (increasing, decreasing, shifting, diffusing)? and What are the implications of these changes for how we tackle some of the global issues?
Design a program that calculates the average number of days : Design a program that calculates the average number of days a company's employees are absent. The program should have the following functions.
Job redesign and workplace rewards assessment : The Job Redesign and Workplace Rewards Assessment is a project which asks you to assess the current state of your workplace environment (or home if you do not work outside of your home).
Design an rc low-pass filter with a cutoff frequency : Design an RC low-pass filter with a cutoff frequency at 2kHz, using a capacitor of \(0.1\mu F\) A. Show a circuit diagram and your calculations in obtaining R B. Make as sketch of the absolute value of the input impedence
Government policy favor certain kinds of immigrants : Should United States government policy favor certain kinds of immigrants? Should citizenship preference be given to the neediest applicants? The most talented? The most oppressed?
The firm instead rents saucepans every period : Consider the pricing problem of Alcoa's cookware division. Suppose that the world last for only two periods, period 1 and period 2. A saucepan last two periods, so that a saucepan that is bought in period 1 can also be used in period 2. Consumers val..

Reviews

Write a Review

Operation Management Questions & Answers

  Determine the probability for new book

Dan McClure owns a thriving independent bookstore in Lawrence, Kansas. He must decide how many copies to order of a new book. Dan believes his demand forecast can be represented by a normal distribution with mean 200 and standard deviation 80.

  Relationship between perceptions, attitudes and behaviors

What are the relationships between perceptions, attitudes, behaviors, and job performance. Why are unions exploring new collaboration solutions in the face of economic/work adversity

  Define and discuss quality management

Define and discuss quality management, the evolution of the quality improvement movement, and implications of public health for health care organizations to implement national quality initiatives.

  Identify technologies we covered that can be used as part

Identify technologies we covered that can be used as part of a CRM strategy and discuss its applicability to the Fresh Foods grocery store we reviewed as a case study.

  Procurement importance matrix and briefly explain the focus

Draw a sketch of the procurement Importance Matrix and briefly explain the focus/purchasing strategy that should be used

  What is the total cost of this option

Use a matching demand strategy not to exceed production capacity of 2,610 external hard drives per quarter with overtime for any production above this to ensure that all production requirements are met during each quarter.  What is the total cost of ..

  Elucidate what will be the cedar product demand next year

For this question suppose which all 699 of units of Cedar are sold in the Nano segment. If the competitive environment remains unchanged. Elucidate what will be the Cedar product's demand next year (in 000's).

  After a risk workshop has been completed

After a risk workshop has been completed, risk interviews are often completed with subject matter experts. Assess the value of the interviews to identify risk response strategies.

  Discussion on technology innovation in a company

You are the senior executive responsible for technology innovation for Company A. The company learns of the cost and efficiency advantages of a new technology that could replace the one it is currently using.

  How does a gantt chart differ from a network chart

As managers, we need to understand all six project feasibility factors. It's true we need to consider all of them when beginning to plan for a system change. When would one of them take precedence over the others?

  Question about market research

Consumer preferences for Camay bathing soap were obtained on an 11-point Likert scale. The same consumers were then shown a commercial about Camay.

  Prepare an implementation plan for change

Prepare an implementation plan for change that would enable Gar Finnvold to create a fully competitive computer service within two years. Review the list of possible interventions below as you develop an implementation plan for NCO.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd