multiple of nine? - MATLAB Cody - MATLAB Central

Problem 42701. multiple of nine?

Difficulty:Rate

Given a positive number n, return true if n is a multiple of 9 and false if not. Do not make the division and do not use functions like mod or rem.

Solution Stats

73.45% Correct | 26.55% Incorrect
Last Solution submitted on Nov 25, 2024

Problem Comments

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

Problem Recent Solvers111

Suggested Problems

More from this Author2

Problem Tags

Community Treasure Hunt

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

Start Hunting!