enter number enter number enter numberbad data invalid input enter number enter numberdone exercise write another program that prompts for list of numbers as above and at the end prints out both the maximum and minimum of the numbers instead of the average