Java Taskbook Level 1.2
Given an integer, print the first digit of this number to the console.
Given an integer, print the last digit of this number to the console.
Given an integer, output to the console the sum of the first and last digits of this number.
Given an integer, output the number of digits in this number.
Given two integers, check that the first digits of these numbers match.