1) Write down the program that prints out the chains for numbers within the range which the user specifies. The length of each chain must be printed at the end of the chain.
2) First, write down the function hailstone () which consists of a while loop that prints out the single chain and keeps track of how long it is. Every step of the while must move the current value to next step. Then, imbed a call to your hailstone function within the for loop in order to print the chains from 10 to 20.