Coding

 

 

 

Q1. Design a program that asks the user to enter a series of 20 numbers. The program should store the numbers in a list and then display the following data:

The lowest number on the list

The highest number on the list

The total of the numbers in the list

The average of the numbers in the list

Q2. Total Sales

Design a program that asks the user to enter a store’s sales for each day of the week. The amounts should be stored in a list. Use a loop to calculate the total sales for the week and display the result.

This question has been answered.

Get Answer