subject
Computers and Technology, 09.12.2019 18:31 talia43

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 by main that asks the user for the number of employees in the company. this value should be returned as an int. (the function accepts no arguments.) 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. (this function does not perform screen output and does not ask the user for input.) input validation: do not accept a number less than 1 for the number of employees. do not accept a negative number for the days any employee missed.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 01:00
What is added to the < meta > tag to describe the encoding type?
Answers: 2
question
Computers and Technology, 22.06.2019 11:00
Which are examples of note-taking tools? check all that recording devices sticky notes digital highlighters paper flags highlighting pens digital displays digital flags
Answers: 1
question
Computers and Technology, 22.06.2019 18:30
Which of these options are the correct sequence of actions for content to be copied and pasted? select content, click the copy button, click the paste button, and move the insertion point to where the content needs to be inserted. click the copy button, select the content, move the insertion point to where the content needs to be inserted, and click the paste button. select the content, click the copy button, move the insertion point to where the content needs to be inserted, and click the paste button. select the content, move the insertion point to where the content needs to be inserted, click the copy button, and click the paste button.
Answers: 3
question
Computers and Technology, 23.06.2019 14:00
Select the correct answer. a company is currently focusing on creating specific management goals for itself. which level of maturity is the company demonstrating under the sse_ccm framework? a. performed informally b. planned and tracked c. quantitatively controlled d. well-defined e. continuously improving
Answers: 2
You know the right answer?
Write a program that calculates the average number of days a company's employees are absent. the pro...
Questions
question
Mathematics, 05.11.2020 19:00
question
Biology, 05.11.2020 19:00
question
English, 05.11.2020 19:00
Questions on the website: 13722363