Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

then the loop will execute exactly eleven ( 1 1 ) times ( Peter has 5 characters and Parker has 6 characters ) . You

then the loop will execute exactly eleven (11) times (Peter has 5 characters and Parker has 6 characters). You must HARDCODE your own name into your program, for example:
first = Peter
last = Park
Your program must figure out the total number of characters in the two names (hint: the len function is one easy way to do this). he will be prompted to enter exactly 11 numbers).
Once the loop has finished, your program must output the following:
The number of numbers entered.
The total of the numbers entered.
The average of the numbers entered.
The largest number entered.
The smallest number entered.
Sample output is shown below for Ma Pa's program (remember, you must hardcode your own name in your program).
Hello MaPa
Please enter 4 numbers.
Enter a number: 3
Enter a number: 2
Enter a number: 5
Enter a number: 7
Number of numbers entered: 4
Total of the numbers: 17
Average of the numbers: 4.25
Largest number entered was: 7
Smallest number entered was: 2
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Upgrading Oracle Databases Oracle Database New Features

Authors: Charles Kim, Gary Gordhamer, Sean Scott

1st Edition

B0BL12WFP6, 979-8359657501

More Books

Students also viewed these Databases questions