Question: Write a code in java to separate a number and count how many digits are 7s. Return the amount of 7s unless the 7 is
Write a code in java to separate a number and count how many digits are 7s. Return the amount of 7s unless the 7 is at the front. If the 7 is in the front or is the only number, it does not count. Must use recursion.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
