write a program that calculates the average number of days a company s employees are absent during the year

NursesHomeworkHelp.com prides itself on its team of specialized writers who possess comprehensive knowledge and experience in the field of nursing. These writers are selected through a rigorous vetting process, ensuring that they have the necessary qualifications and expertise in nursing. By engaging writers who understand the intricacies of the nursing profession, NursesHomeworkHelp ensures that students receive accurate and well-researched content that aligns with the unique requirements of the nursing discipline. This specialization sets NursesHomeworkHelp apart as a trusted source of academic support for nursing students.

  • A first function asks a user for the number of employees in the company. This value should be returned as an int. The function accepts no arguments.
  • A second function that does the following:
    • Asks the user to enter for the following information each employee:
  • A third function calculates the average number of days absent.
    • The function takes two arguments:
  • the employee number (ID)
  • the number of days that employee missed during the past year.
    • Writes each employee number (ID) and the number of days missed to the output file.
    • The function returns the total of missed days as an int.Assume the employee number (ID) is 4 digits or fewer, but don’t validate it.
    • The function accepts two arguments:
  • The name of the file stream object as a reference parameter of type ofstream
  • The number of employees in the company as int.
  • the number of employees in the company
  • 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 screen or file output and does not ask the user for input.

NursesHomeworkHelp.com places a strong emphasis on delivering high-quality work that meets and exceeds academic standards. The company is committed to upholding excellence in every aspect of their service. The writers at NursesHomeworkHelp conduct thorough research, ensuring that assignments are well-informed and grounded in evidence-based practice. Moreover, they adhere to academic conventions, including proper referencing and citation, to ensure the integrity and credibility of the work. By consistently maintaining high-quality standards, NursesHomeworkHelp enables nursing students to excel academically and develop the necessary skills for their future careers.

 
Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount!
Use Discount Code "Newclient" for a 15% Discount!

NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.