Question: Write a void function that asks the user for the number of hours and returns the result in a reference parameter. Make sure hours is
Write a void function that asks the user for the number of hours and returns the result in a reference parameter. Make sure hours is greater or equal to zero and less than or equal to 40. Use the following prototype:
void getHours(int&);
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
