Cody

Solution 2141913

Submitted on 26 Feb 2020
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   Fail
x = [60 60]; y_correct = 60; assert(isequal(missing_interior_angle(x),y_correct))

Assertion failed.

2   Fail
x = [45 90]; y_correct = 45; assert(isequal(missing_interior_angle(x),y_correct))

Assertion failed.

3   Fail
x = [90 70 70]; y_correct = 130; assert(isequal(missing_interior_angle(x),y_correct))

Assertion failed.

4   Fail
x = [120 120 120 110 110]; y_correct = 140; assert(isequal(missing_interior_angle(x),y_correct))

Assertion failed.

5   Fail
x = 140*ones(1,8); y_correct = 140; assert(isequal(missing_interior_angle(x),y_correct))

Assertion failed.

Suggested Problems