Cody

Solution 1578157

Submitted on 8 Jul 2018 by Said BOUREZG
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
teams={'Russia','Saudi Arabia', 'Egypt', 'Uruguay', 'Portugal', 'Spain','Morocco','Iran',... 'France','Australia', 'Peru','Denmark', 'Brazil', 'Switzerland', 'Costa Rica', 'Serbia', ... 'Germany', 'Mexico', 'Sweden', 'STH Korea', 'Belgium', 'Panama', 'Tunisia', 'England' , ... 'Argentina','Iceland', 'Croatia', 'Nigeria', 'Poland', 'Senegal', 'Colombia', 'Japan'}; d=false; for i=1:numel(teams) if strcmp(Worldcup2018winner(),teams{i}) d=true; break; end end assert(d)

ans = "France" ans = "France" ans = "France" ans = "France" ans = "France" ans = "France" ans = "France" ans = "France" ans = "France"

Suggested Problems

More from this Author18