Answered You can hire a professional tutor to get the answer.

QUESTION

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

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.

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question