Cody

Problem 43045. Display negative numbers

Given array,x, display all the negative numbers and display output as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].

Solution Stats

93.48% Correct | 6.52% Incorrect
Last solution submitted on Oct 13, 2019

Problem Comments