Question: in c++ please 11.18 LAB: Count the digits Write a fecursive function called DigitCounto that takes a postive intoger as a parameter and refurns the
11.18 LAB: Count the digits Write a fecursive function called DigitCounto that takes a postive intoger as a parameter and refurns the nuriber of digits attien intiegis Hint The digit coant increases by 1 whenever the input number is divided by 10 . Ex: if the input is: 345 the function Digit Count 0 tetums and the program outputs
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
