How would you write a recursive function called


How would you write a recursive function called printStarDigit which prints out all the digit in the given number passed in as a parameter. Also, it prints out a * at the beginning and end of this number and in between each digit.

Ex: Number: 23455212 *2*3*4*5*5*2*1*2*

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: How would you write a recursive function called
Reference No:- TGS02531230

Now Priced at $10 (50% Discount)

Recommended (98%)

Rated (4.3/5)