My Code–> https://ide.codingblocks.com/s/62850
Please Check my code.
I am taking the input number (num) as a string so that it would be easier to extract single digit and double digit number. Facing problem in extracting a double digit using substring in the function
How to deal with this error "request for member ‘substr’ in ‘in’, which is of non-class type ‘char*’ "