Do you have the algorithm yet for extracting a digit from a number? You need to figure out how to get 3 digits out of 403.
This will involve modulus and division.
Then look at the digits one by...