Question: 8: write a C++ program that reads the salaries for 10 worker then: Read the gender (m or f) for the 10 workers Define

8: write a C++ program that reads the salaries for 10 worker then:  Read the gender (m or f) for the 10

8: write a C++ program that reads the salaries for 10 worker then: Read the gender (m or f) for the 10 workers Define a function max that finds the maximum salary. Define a function average that finds the average for all salary. Define function gender that finds the gender for minimum salary. I Define function called itsGender that finds the gender of first salary>500.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

include using namespace std Function to find the maximum salary float maxSalaryfloat salaries int si... View full answer

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 Computer Network Questions!