Problem 42701. multiple of nine?
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
Problem Comments
- 
		2 Comments
 
		Jean-Marie Sainthillier
    	on 5 Jan 2016
	
	
  	See Problem 42411 by Grant III
		George-Felix Leu
    	on 6 Jan 2016
	
	
  	@Jean-Marie Sainthillier: You are right, sorry for not have checked before.
And thank you for the info, the problem-series by Grant III is very useful. 
Solution Comments
Show commentsProblem Recent Solvers111
Suggested Problems
- 
         
Extract leading non-zero digit
2194 Solvers
 - 
         
Back to basics 23 - Triangular matrix
1088 Solvers
 - 
         
Back to basics 25 - Valid variable names
330 Solvers
 - 
         
         
483 Solvers
 - 
         
Count decimal digits of a number
228 Solvers
 
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!