Question: Create a function named Salary. The function will calculate how much you make in a week. The formula you will use is: number of hours
Create a function named Salary.
The function will calculate how much you make in a week.
The formula you will use is: number of hours * pay rate.
The function will ask the user to input their pay rate and number of hours worked in a week.
The function will then calculate how much the user made and return that value to the main function where it will print out to the screen the users weekly salary.
The language is C++ and we're using the Dev-C++ application.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
