Cody

Problem 47204. Cutoff OF Exam

Solution 3792633

Submitted on 23 Nov 2020 by Dyuman Joshi
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
year = 2015; y_correct = 90; assert(isequal(cutoff(year),y_correct))

ans = 90

2   Pass
year = 2010; y_correct = 60; assert(isequal(cutoff(year),y_correct))

ans = 60

3   Pass
year =2018; y_correct = 108; assert(isequal(cutoff(year),y_correct))

ans = 108

Suggested Problems

More from this Author41

Community Treasure Hunt

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

Start Hunting!