Cody

Problem 45927. GPA

Solution 2574471

Submitted on 17 Jun 2020 by jmac
  • Size: 8
  • This is the leading solution.
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))

ans = 78.5000

Suggested Problems

More from this Author9