Cody

Problem 44035. determine the sum of the squares

Solution 1111245

Submitted on 27 Jan 2017 by Alexander Levedahl
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 = 4; y = 30; assert(isequal(sum_square(x),y))

ans = 30

2   Pass
x = 6; y = 91; assert(isequal(sum_square(x),y))

ans = 91

3   Pass
x = 5; y = 55; assert(isequal(sum_square(x),y))

ans = 55

4   Pass
x = 15; y = 1240; assert(isequal(sum_square(x),y))

ans = 1240

Suggested Problems

More from this Author4