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, 23.06.2019 17:00
The camera still is bad even with the new iphone xr and especially in low light it is even worst because you can see the pixels more if its in low light. if all you apple customers want apple to fix this then lets fill there feedback with complaints about the can apple do to fix this issue?
Answers: 1
question
Computers and Technology, 23.06.2019 21:40
language consists of basic components, and they are called a. 3; mental images, concepts, and speech b. 2; language acquisition and linguistic relativity c. 3; heuristics, algorithms, and analogies d. 4; phonemes, morphemes, syntax, and semantics e. 2; words and grammar
Answers: 3
question
Computers and Technology, 24.06.2019 17:30
Match the following. 1. formatting that is applied when cell data meets certain criteria 2. borders with formats not found on the border tool 3. a shortcut bar that contains tools for commonly used formats 4. formats that can be applied to numbers conditional formatting custom borders format bar number formats
Answers: 3
question
Computers and Technology, 25.06.2019 05:30
In our new car, we were able to drive 30 miles in a half an hour. from this information, we can determine the car's a. acceleration. b. velocity. c. speed. d. direction.
Answers: 1
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, 29.07.2020 14:01
question
Mathematics, 29.07.2020 14:01
question
English, 29.07.2020 14:01
question
World Languages, 29.07.2020 14:01
Questions on the website: 13722362