Cody

Problem 42442. Determine if input is divisible by three.

Created by Paul Stewart in Community

Given a positive integer, n, determine if n is divisible by 3. If yes, the function should output true. If no, false.

Solution Stats

85.81% Correct | 14.19% Incorrect
Last solution submitted on Jan 23, 2019

Solution Comments

Recent Solvers117

Suggested Problems

Tags

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!