How to Perform operations on a single digit in a whole number? For example, if The input is "248" How do I make the program display the factorial of 8, Factorial of 4 and Factorial of 2? (Reversed)
Make it count the number of prime digits in the whole number
Make it count the number of digits divisible by 2 and 4 in the whole number