Question: 2) Write a recursive method to return a converted character string of digits as an integer. You can pass as many arguments as you please,
2) Write a recursive method to return a converted character string of digits as an integer. You can pass as many arguments as you please, an example could be: convert("1234"); This call returns 1234. Hint to convert a character to a number subtract ASCII 0' from it
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
