Function so that if an inappropriate letter is passed an


•Write a function calledconvertStatus that is passed status code 'f', 's', 'j', or 'r' andreturns thestring 'freshman', 'sophomore', 'junior', or 'senior', respectively. Design your
function so that if an inappropriate letter is passed, an error value is returned. Make sure to includean appropriatedocstring with your function.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Function so that if an inappropriate letter is passed an
Reference No:- TGS01387137

Now Priced at $30 (50% Discount)

Recommended (95%)

Rated (4.7/5)