Question: 8) Interlacing digits. a) Request two integers with an equivalent number of digits. b) Implement a recursive function which accepts two integers as input. The

8) Interlacing digits. a) Request two integers with an equivalent number of digits. b) Implement a recursive function which accepts two integers as input. The function should output a new integer which is the interlaced equivalent of both input values Hint: Use modulo/integer division for digit extraction and number truncation Example output (input_is bold anditalicized) Enter two integers with an equivalent number of digits: 12 34 Interlaced Numbers: 1324 Enter two integers with an equivalent number of digits: 345 678 Interlaced Numbers: 364758 Enter two integers with an equivalent number of digits: 1234 7777 Interlaced Numbers: 17273747
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
