Question: Create a program that the asks the user to enter the array size and assign its content one by one from the user input.
Create a program that the asks the user to enter the array size and assign its content one by one from the user input. The program must display: a. all the inputted numbers b. the smallest number c. the biggest number d. and the average of all the stored numbers. (Individual work- unique source code) Sample Output: How many numbers you want?: 5 Enter number1: 10 Enter number2: 14 Enter number3: 5 Enter number 4: 1 Enter number5: 4 You typed: Smallest : : Biggest Average : 10 1 14 6.8 14 5 1
Step by Step Solution
There are 3 Steps involved in it
sample program in Python def main Ask the user to enter the array size arraysize intinputHow many ... View full answer
Get step-by-step solutions from verified subject matter experts
