Problem 45887. Which one is More bigger?

Solution 2649797

Submitted on 3 Jul 2020 by Asif Newaz
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

Suggested Problems

Community Treasure Hunt

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

Start Hunting!