Question: 2) Write a function named salary() to calculate the salary per month and display the value of salary based on the following formula salary= (hours

2) Write a function named salary() to calculate the salary per month and display the value of salary based on the following formula salary= (hours rate) insurance where insurance is a global variable that equals to 3.6. In the main function main(), prompt the user to enter the hours and rate and pass the as arguments in the function call for salary(). Output: Enter the number of hours: 286 Enter the rate: 12 The salary is: 3428.42) Write a function named salary() to calculate the salary per month

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!