Cody

Problem 42766. Is my wife really right?

Solution 1469669

Submitted on 23 Mar 2018 by J. S. Kowontan
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
Question1 = 'Will you be ready soon?'; Question2 = 'What is the meaning of life, universe and everything?'; Question3 = 'Do you wan''t to go out today?'; Question4 = 'Can you help me?'; y_correct = ['yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes']; [yes, yes, yes, yes, yes, yes, yes, yes, yes] = YesSheIs(Question1, Question2, Question3, Question4, Question1, Question2, Question3, Question4, Question3); assert(strcmp([yes, yes, yes, yes, yes, yes, yes, yes, yes] , y_correct))

Suggested Problems

Community Treasure Hunt

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

Start Hunting!