Cody

Solution 328354

Submitted on 3 Oct 2013 by Erin
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 = 1; y = 1; assert(~are_fangs(x,y))
ans = 0
2   Pass
%% x = 21; y = 60; assert(are_fangs(x,y))
ans = 1
3   Pass
%% x = randi(9,1); y = randi([10 99],1); assert(~are_fangs(x,y))
ans = 0
4   Pass
%% x = 15; y = 93; assert(are_fangs(x,y))
ans = 1
5   Pass
%% x = randi(9,1)*10; y = randi(9,1)*10; assert(~are_fangs(x,y))
ans = 0
6   Pass
%% x = 2; y = 50006; assert(~are_fangs(x,y))
ans = 0
7   Pass
%% x = 150; y=930; assert(~are_fangs(x,y))
ans = 0
8   Pass
%% x = 300; y = 501; assert(are_fangs(x,y))
ans = 1