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 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
include using namespace std Function to find the maximum salary float maxSalaryfloat salaries int si... View full answer
Get step-by-step solutions from verified subject matter experts
