Question: Write a code in java to recursively separate a number and then count how many of its digits are even. Zeroes dont count as even.

Write a code in java to recursively separate a number and then count how many of its digits are even. Zeroes dont count as even.
example:
111 would print 0
224 would print 3
2046802468 would print 8
code given:
int start(int num) {
}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!