Write a program that calculates the average number of days


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.

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Write a program that calculates the average number of days
Reference No:- TGS0131712

Expected delivery within 24 Hours