Cody

Problem 45887. Which one is More bigger?

Solution 2565558

Submitted on 16 Jun 2020 by Binbin Qi
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 = 0; z_correct=x x = -1; y = 0; z_correct=y assert(isequal(P45691(x,y),z_correct))

z_correct = 1 z_correct = 0 z = 0

Suggested Problems

Community Treasure Hunt

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

Start Hunting!