I have a question. i have to write a program that cvalculates the average number of days a company's employees are absent. The program should have the following functions:
A functcion called by main that asks teh user for the number of employees in the company. this value should be returned as an int. (no parameters)
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 employees in the company. The function should ask teh 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 parameters: 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. (this function does not perform any screen output and does not ask the user for input.
Can anyone help i am getting many errors