Question

Please use Python 3

4). Write a program that asks the user to enter 10 numbers. The program should store the numbers in a list and then display the following data:

• The lowest number in the list •

The highest number in the list

•The total of the numbers in the list

• The average of the numbers in the list

Sample input & output:

(Prompt) Enter Number 1: (User enter) 4

(Prompt) Enter Number 2: (User enter) 7

(Prompt) Enter Number 3: (User enter) 3

(Prompt) Enter Number 4: (User enter) 8

(Prompt) Enter Number 5: (User enter) 4

(Prompt) Enter Number 6: (User enter) 8

(Prompt) Enter Number 7: (User enter) 3

(Prompt) Enter Number 8: (User enter) 6

(Prompt) Enter Number 9: (User enter) 12

(Prompt) Enter Number 10: (User enter) 6

(Output) The lowest number in the list is 3.0

(Output) The highest number in the list is 12.0

(Output) The sum of the numbers in the list is 61.0

(Output) The average of the numbers in the list is 6.1

Answer #1

DESIGN A FLOWCHART IN FLOWGORITHM
Number Analysis Program Design a program that asks the user to
enter a series of 20 numbers. The program should store the numbers
in an array and then display the following data:
The lowest number in the array.
The highest number in the array.
The total of the numbers in the array.
The average of the numbers in the array.
PLEASE AND THANK YOU

- Write a Python program which asks the user to enter a number,
if the number is divisible by 6 or 7, the program prints “The
number X is divisible by 6 or 7” and if the number is neither
divisible by 6 nor by 7, then it prints “The number X is not
divisible by 6 and 7”.

Design a program that asks user to enter any three numbers. The
program should display the three numbers in ascending order. using
python code please

DESIGN A FLOWCHART IN FLOWGORITHM STEP BY STEP
Number Analysis Program
Design a program that asks the user to enter a maximum of 20
numbers. The program should store the numbers in an array and then
display the following data:
-The lowest number in the array.
-The highest number in the array.
-The total of the numbers in the array.
-The average of the numbers in the array.
PLEASE AND THANK YOU

Write a program that asks the user to enter an odd number and
prints out a triangle pattern. For example, if the user enters 5,
the output is
note: There is one space between the numbers in each
line
1 3 5
1 3
1
If the user enters 9 the output is:
1 3 5 7 9
1 3 5 7
1 3 5
1 3
1
program language: C++

Question1: Write a Python Program that asks for the grades of
5 quizzes and then prints the highest grade. [6 Marks]
Question2: Write a Python Program that does the following
tasks. [8 Marks]
Create an
empty list
Ask the user
for 5 positive numbers and append them to the list
Find and
print the sum of all the numbers in the list
Delete the
last element from the list and then print the list
Question3:
Consider you have the following...

Assembler lanaguage program
The program is to prompt the user to enter a number between 2
and 100. Reject any invalid user inputs and terminate the program
if invalid inputs are entered. Print each even number from 2 to the
user entered number. Sum these even numbers and print the sum.
Print each odd number from 1 to the user entered number. Sum these
odd numbers and print the sum. Exit the program when the output is
complete.
The output...

Write a Python program which calculates the average of the
numbers entered by the user through the keyboard. Use an
interactive loop and ask the user at each iteration if he/she wants
to enter more numbers. At the end dispay the average on the screen.
Using built-in library functions for finding average is not
allowed.
Sample output of the program:
Enter a number > 23
More numbers (yes or no)? y
Enter a number > 4
Do you have more...

IN PYTHON : Write a program that asks the user for a number.
Write the number to a file called total.txt. Then ask the user for
a second number. Write the new number on line 2 with the total for
both numbers next to it separated by a comma. Then ask the user for
a third number and do the same. Keep asking for numbers until the
person puts in a zero to terminate the program. Close the file. Be...

DESIGN A FLOWCHART IN THE APPLICATION
FLOWGORITHM
Exercise called: Number Analysis
Program Design a program that asks the user to enter a maximum
of 20 numbers. The program should store the numbers in an array and
then display the following data:
1-The lowest number in the array.
2-The highest number in the array.
3-The total of the numbers in the array.
4-The average of the numbers in the array.
PLEASE AND THANK YOU

ADVERTISEMENT

Get Answers For Free

Most questions answered within 1 hours.

ADVERTISEMENT

asked 11 minutes ago

asked 13 minutes ago

asked 15 minutes ago

asked 20 minutes ago

asked 27 minutes ago

asked 31 minutes ago

asked 33 minutes ago

asked 1 hour ago

asked 1 hour ago

asked 1 hour ago

asked 1 hour ago

asked 1 hour ago