A program that tracks employees’ attendance

by | Jan 8, 2022 | Assignment

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.

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

Free formatting

Unlimited revisions

Achieve academic success with the best online tutors