Cody

Problem 42416. Divisible by 14

Created by goc3 in Community

Write a function to determine if a number is divisible by 14. If a number is divisible by 2 and divisible by 7, then it is divisible by 14.

Previous problem: divisible by 13. Next problem divisible by 15.

Solution Stats

67.16% Correct | 32.84% Incorrect
Last solution submitted on Nov 22, 2018

Recent Solvers36

Suggested Problems

More from this Author161

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!