1. Write a C++ program that computes the salary for a set of employees. Create a function called salary which receives t

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

1. Write a C++ program that computes the salary for a set of employees. Create a function called salary which receives t

Post by answerhappygod »

1 Write A C Program That Computes The Salary For A Set Of Employees Create A Function Called Salary Which Receives T 1
1 Write A C Program That Computes The Salary For A Set Of Employees Create A Function Called Salary Which Receives T 1 (35.91 KiB) Viewed 20 times
by C++
1. Write a C++ program that computes the salary for a set of employees. Create a function called salary which receives the number of hours and the hour rate and returns the salary. The program will prompt the user to the values then call the function. (continue asking the user to enter the values until he/she enters a negative number) double salary (double hours, double hourRate) Enter the hours and hourRate: 20 25 The salary is: 500 Do you want to compute another salary (Negative value to Exit): 1 Enter the hours and hourRate: 35.5 100.67 The salary is: 3573.78 Do you want to compute another salary (Negative value to Exit): -1
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply