Cody

Problem 43148. Basic commands - rounding

Created by Jakub Mrowka in Community

make a function which will round to integer, which is nearer to zero.

Example

x=[-2.5 2];
y=[-2 2];

Solution Stats

53.3% Correct | 46.7% Incorrect
Last solution submitted on Jul 15, 2019

Problem Comments