Answered step by step
Verified Expert Solution
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 times Peter has characters and Parker has 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 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 numbers.
Enter a number:
Enter a number:
Enter a number:
Enter a number:
Number of numbers entered:
Total of the numbers:
Average of the numbers:
Largest number entered was:
Smallest number entered was:
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started