A. The mean of a list of numbers is its arithmetic average. Themedian of a list is its middle value when the values are placed inorder. For example, if an ordered list contains 1, 2, 3, 4, 5, 6,10, 11, and 12, then the mean is 6, and their median is 5. Write anapplication that allows you to enter nine integers and displays thevalues, their mean, and their median.
B. Revise the MeanMedian class so that the user can