If a user inputs a 4 digit int, how do I use an array to extract each digit? : <p>I'm creating a very basic encryption program, and I'm stuck. Essentially the user inputs a 4 digit int using a scanner and my goal is to, encrypt each digit, using a set formula. But i can't figure out how to, extract each digit and insert it into the formula. if anyone knows the simplest way of doing so, id really appreciate it. </p>
