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

  Book review - the goal

Operations Management is about a book review. Title of the book is "Goal". This book has been written by Dr. Eliyahu Goldartt. The book has been appreciated by many as one of those books which offers an insight into the operations and strategic capac..

  Operational plan in hospitality enterprise

Operational plan pertaining to a hospitality enterprise is given in detail in the solution. The operational plan is an important plan or preparation which gives guidelines regarding the role and responsibilities of each and every operation at all lev..

  Managing operations and information

Recognise the importance of a strategic approach to the development and deployment of organisational information systems. Demonstrate an understanding of the importance of databases and their integration to the organisation's overall information mana..

  A make-or-buy analysis

An analysis of the holding costs, including the appropriate annual holding cost rate.

  Evolution and contributor of operations management

Briefly explain Evolution and contributor of Operations management.

  Functions and responsibilities of an operations manager

A number of drivers of change have transformed the roles, functions and responsibilities of an operations manager over recent years. These drivers have not only been based on technological innovations but also on the need for organisations to develop..

  Compute the optimal order quantity

Compute the Optimal Order quantity of DVD players. Determine the appropriate reorder point.

  Relationship to operations practice in the organisation

Evaluate problems in operations and identify approaches to overcoming them. Critically evaluate operating plans and identify areas for improvement. Justify, implement and evaluate changes to operations in line with modern approaches.

  A make or buy analysis

Develop a report for Figi Fabricating that will address the question of whether the company should continue to purchase the part from the supplier or begin to produce the part itself.

  Prepare a staffing plan

Prepare a staffing plan showing the change of your unit from medical/surgical staffing to oncology staffing.

  Leadership styles in different organizations

Ccompare the effectiveness of different leadership styles in different organizations

  Risk management tools and models

Be able to understand the concept of risk, roles and responsibilities for risk management and risk management tools and models.

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