Given a number, return the number of closed 'circles' in the base 10 numerical representation.
Note: the number 4 has no circles
8819 -> 5
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry PiLearn more
Opportunities for recent engineering grads.Apply Today
New to MATLAB?Learn MATLAB today!
Play games and win prizes!Learn more