Extracting and printing the first and last digit of a number
Using a loop technique and successive division by 10 to extract first and last digit of a given number and then printing it.
Learning Objectives
- Using successive division by 10 and stopping the loop when the first digit is achieved.
