Can someone please help, I have this program that is due tomorrow
Here is the problem:
Write a program that calculates the average number of days a company's employees are absent. The program should have the following function:
- a function called by main that asks the user for the number of employees in the company. this value should be returned as an int. ( the functions accepts no arguments)
- A function called by main int accepts one argument . the number of employees in the company. the function should ask user to enter the number of days each empolyee missed during the yr.the total of these days should be return as an int.
- a function called main that takes 2 arguments the number of employees in the company and the total number of days absent for all employees during the yr. the function should return as a double, the avrage number of days absent. (input invalidation : don't accept a number less than 1 for the number of employees. dont accept a negative number for the days any employees missed)
thanks I really need help