Question: Create a value - returning function called findJob ( fileName , jobType ) which is defined outside of the main ( ) function but called

Create a value-returning function called
findJob(fileName, jobType)
which is defined outside of the main() function but called by main()
Where the function takes the filename and jobType as the arguments and returns the value ( for this step the number of vacancies) back to the program to be printed using the expression
There are positions
Remember to use comments, spacing between lines of code, and have the input and output formatted for readability.
You need to test it 2 times, using Vacant and another jobType of your choosing.

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 Programming Questions!