Menu

(Solved) : Recruitment Chance Write Code Estimate Probability Applicant Hired Based Gpa Input Numeric Q44132166 . . .

Recruitment Chance

Write a code to estimate the probability of an applicant beinghired based on GPA. The input is a numeric called GPA and theoutput is chanceHired, equal to the probability of an applicantbased on the following table.

GPA >= 3.5 Probability 90%

3.0 <= GPA < 3.5 Probability 80%

2.5 <= GPA < 3.0 Probability 70%

2.0 <= GPA < 2.5

Probability 60%

1.5 <= GPA < 2.0 Probability 50%

GPA < 1.5 Probability 40%

Hint: use if else conditionals to check the GPA ranges. Use thefollowing array to test your code: applicants

GPA=[0.5:4] and display the result in a matrix form usingfprintf(5pt). E.g. If matrix A=[1 2; 3 4] then to print it inmatrix form use fprintf(‘%i%in’, matrixA’).

Expert Answer


Answer to Recruitment Chance Write a code to estimate the probability of an applicant being hired based on GPA. The input is a num…

OR