Divisible by 14 - MATLAB Cody - MATLAB Central

Problem 42416. Divisible by 14

Difficulty:Rate

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

56.36% Correct | 43.64% Incorrect
Last Solution submitted on Sep 18, 2025

Solution Comments

Show comments
MATLAB EXPO 2025 Registration is Now Open! November 12 – 13, 2025
Registration is now open for MathWorks annual virtual event MATLAB EXPO 2025...
0
0

Problem Recent Solvers149

Suggested Problems

More from this Author139

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!