Program calculate average number of days employee are absent

Assignment Help Programming Languages
Reference no: EM1362165

Write a program that calculates the average number of days a company's employees are absent. The program should have the following functions: a function called main that asks the user for the number of employees in the company. this value should be returned as an int. a function called by main 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 called by main 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 double, the average number of days absent.

Reference no: EM1362165

Questions Cloud

Explain types of budgeting models : Explain Types of Budgeting Models - Show the differences between the rational budgeting and incremental budgeting models.
Explain how much quasi-rents would each factory earn : If the two firms each maximise profits independently, explain how much output would each firm produce. Explain how much quasi-rents would each factory earn.
How close to the goal can the hare : which the tortoise wins in a photo finish? suppose that, when moving, both animals move steadily at their respective maximum speeds.
Family function versus dysfunction : Please explain the effect of the environment on families and its effect on family function versus dysfunction.
Program calculate average number of days employee are absent : Write a program that calculates the average number of days a company's employees are absent. The program should have the following functions: a function called main that asks the user for the number of employees.
Calculate profit and the return on investment : Lauren own a margin account and deposits of $50,000. Suppose the initial margin requirements is 40 percent, and The Gentry shoe corporation is selling at $25.00 per share:
What is the range of the ball : The speed of sound in air is 332 m/s at 0°C. It increased 0.60 m/s for each degree above zero. compute the speed of sound at the temperature of the room.
Explain briefly what kind of supply and demand elasticities : explain briefly about what kind of supply and demand elasticities for gasoline must be present in the U.S. market.
Health beliefs of the cultural group : Describe and interpret health beliefs of the cultural group in relation to both health and illness.

Reviews

Write a Review

Programming Languages Questions & Answers

  What are the contents of given register

Memory location 2000H has the word 5000H stored in it. What does each location contain after INC BYTE PTR[2000H]. Also after DEC WORD PTR[2000H]

  Program to compute person-s body mass index

Write a program to compute person's body mass index? Create a modular program which calculates and display person's body mass index (BMI).

  Write program to reads student-s name together with score

Write a program that reads a student's name together with his or her test score. The program should then compute the average test score for each student.

  Write a utility that converts dollars to coins

For the program, you will write a utility that converts dollars to coins. It is a simple program that must have the following: Multiple outputs to the screen

  Explaining tags used for effective page layout

Page layout is one of the most time consuming tasks for a web designer. What are some of the tags used for effective page layout and how do they work?

  Design program that asks user to enter budgeted amount

"Design a program that asks the user to enter the amount that he or she has budgeted for a month. (For example: $2,000.00)

  Probability line is executed in nth iteration of for loop

What is the probability that line is executed during the nth iteration of the for loop? What is the exact expected number of executions of line?

  Create a new console application project

Create a new console application project and name it "Week1Lab_BirdN". Create the necessary member functions that will perform the required operations outlined in the lab summary above.

  Write complete payroll program for a company

Now, write a complete PAYROLL program for a company in which each employee falls into one of the 3 categories - Administrative, FactoryEmployee or Salesperson.

  Creating website-based sales system for retail firm

Assume that you have been hired to create website-based sales system for large international retail sales firm.

  Write a program to model a simple calculator

Write a program to model a simple calculator. Each data line should consist of the next operation to be performed from the list below and the right operand.

  Design application that would output payment coupons

Design the application that would output 12 payment coupons for each of the 15 apartments in each of the 20 buildings. Each coupon should contain the building number.

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