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

  Define mass customization

What is meant by mass customization? How can market conditions and consumer desires affect customization?

  Compare and contrast large scale change techniques

Compare and contrast large-scale change techniques with the traditional guiding coalition approach. What are the strengths and weaknesses of each?

  Illustrate what is optimal order quantity

Illustrate what is optimal order quantity. Illustrate what is annual holding cost. Illustrate what is annual ordering (setup) cost. Illustrate what are annual costs of silverware itself with an optimal order quantity.

  Identify individuals within the buying organization

Identify individuals within the buying organization who fulfil the different roles of the buying center. Identify as many for every role as possible, doing research where necessary.

  Explain the 4 ps of innovation

Which one of the 4 Ps of innovation did the product go through in order to produce an innovative change? Is there any overlap with another one of the Ps? If so, which one? Explain.

  Illustrate what are the major business propositions for wood

Illustrate what are the major business propositions for Woodmere and Home Help to consider in evaluating this proposal. Is time-based logistics the right strategy for each company.

  The express was established as the town newspaper

The Express was established as the town newspaper after the first year of operations. The daily demand remained at 500, the standard deviation of daily demand at 10.0 Armentrout retailed at $1 newspapers purchased

  Analyze the diversity practices of organization

Analyze the diversity practices of your organization to determine if it is engaged in surface-level or deep-level diversity. Provide specific examples to support your response

  Calculate the annual inventory ordering costs

A manufacturing operation must periodically purchase bulk quantities of machine screws. The operation expects to consume 18,200 boxes of screws over the coming year.

  Swot analysis to determine major strengths and threats

Determine the impact of the company’s mission, vision, and primary stakeholders on its overall success. Create a SWOT analysis for the company to determine its major strengths, weaknesses, opportunities, and threats.

  Using objective measures of performance

In 150 words can you explain. What are the advantages and disadvantages of using objective measures of performance?

  S jones entitled to one-half of value of two buildings

Explain however, two had no agreement regarding distribution of barn also Deere unit. Jones sues Smith, claiming he is entitled to one-half of value of two buildings. Is Jones entitled to one-half of value of two buildings? Explain.

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