Write a program where the user inputs five integers using the keyboard.
Your program should then first find the smallest and largest of the first three integers.
Then find the sum of the second and fifth integer.
Then find the product of the first and fourth integer.
Then find the average of the first, second and third integers.
Print out the above results.