Microsoft
Software
Hardware
Network
Question : Functions, Loops and Arrays
Guys,
I have to write 6 programs for a C++ class that include all of the things in the title. Below are the requirements for one of them. If someone could write the functioning code for this one, it would provide me with a better example than what the course information provides and I believe I could figure out the other 5. Any help would be greatly appreciated..I am assigning a high point value for this one because I haven't even gotten a good start.
Days Out Program
• 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 as in 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.
Answer : Functions, Loops and Arrays
Yes there is explicit deny for admins, also you might want to use the GUI in the RMC and re-grant them full mailbox access and send/as again
Random Solutions
Is there anyway to reserve some resources in windows server so that RDC will still work in the event network/cpu is exhausted?
Event ID 333 - Server 2003 SP2 I/O Error
100% CPU usage in vCenter but not in taskmanager on the Windows NT 4.0 VM that has been converted
anyone familur ith using the swing classes HTMLEditorKit StyleSheet and reading a external CSS
monitor AIX servers
Problems installing the AjaxControlTooKit.dll
Backup Sharepoint search index
install problems with Framework .net 3.5 in Windows Server 2008 SP2 x86
Flex Tree with Radio Button
one way audio when using cisco ip communicator over vpn