I have been tasked with determining the origin of an orange. If the last digit is 7 then the orange is from Florida. If the last digit is 4 the digit is from California. If the last digit is neither 4 nor 7 I would have to label it as "invalid code".
How would I single out the last digit of a four digit number? It was an easy concept to grasp at first by just determining the positives and negatives. Now it is a little more specific and I have not seen an example in the lesson to throw me a bone as to what I should be doing.