Problem 1570. Is the input divisible by 3?

Return true if the input is divisible by 3 and false if not.

Solution Stats

76.45% Correct | 23.55% Incorrect
Last solution submitted on May 27, 2017


Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!