Consider that you are building 5 cylindrical nuclear reactors of various diameters. Ask the user to input height and diameter of each cylinder. Find the volume of each cylinder. Then ask the user whether he/she wants to sort those values in ascending order or descending order. Based on the answer, display the two volumes: Biggest and Smallest of five volumes. If it's ascending order, first display the smallest volume and then the largest volume.
Volume of a cylinder = ?r2h