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.
A program that tracks employees’ attendance
We help you get better grades, improve your productivity and get more fun out of college!!
Homework Answers Online
Free title page
Free reference page
How it works – it’s easy
Place your Order
Submit your requirements through our small easy order form. Be sure to include and attach any relevant materials.
Make a payment
The total price of your order is based on the type of assignment, number of pages, academic level and deadline.
We assign the assignment to the most qualified tutor. When the tutor completes the assignment, it is transferred to one of our professional editors to ensure that the assignment meets all of your requirements.
Once complete, we’ll send your assignment via the email provided on the order form.
It’s that simple.