Problem 45927. GPA

Solution 2587714

Submitted on 20 Jun 2020 by Binbin Qi
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
x = 75; y = 81; z_correct = 78.5; assert(isequal(gpa(x,y),z_correct))

z = 78.5000

Suggested Problems

More from this Author9

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!