Given a positive integer n, write a function that returns how many digits of n are even.
Even digits are: 0, 2, 4, 6, 8

Solution Stats

25 Solutions

19 Solvers

Last Solution submitted on Feb 03, 2026

Last 200 Solutions

Solution Comments

Show comments
Loading...

Problem Recent Solvers19

Suggested Problems

Community Treasure Hunt

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

Start Hunting!