subject

This one needs a definite loop and the number iterations of that loop will be the total number of characters in YOUR first and last names. For example, if your name is Jane Doe then the loop will execute exactly seven (7) times (Jane has 4 characters and Doe has 3 characters). You must HARDCODE your own name into your program, e. g.,

first = "Jane"
last = "Doe"

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).

You must use a for or while loop to prompt a user to enter each number. The number of numbers the user enters must match the number of letters in your names (for example, when Jane Doe runs her program she will be prompted to enter exactly seven numbers).

Once the loop has finished, your program must output the following:

Number of numbers entered.
Total of the numbers entered.
Average of the numbers entered.
Largest number entered.
Smallest number entered.

Sample output is shown below for Jane Doe's program (remember, you must hardcode your own name in your program).

Hello Jane Doe
Please enter enter 7 numbers.
Enter a number: 3
Enter a number: 2
Enter a number: 5
Enter a number: 7
Enter a number: 2
Enter a number: 4
Enter a number: 6
Number of numbers entered: xx
Total of the numbers: xx
Average of the numbers: xx
Largest number entered was: xx
Smallest number entered was: xx

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 22:30
What are compression artifacts? 1) visible defects in the picture caused by the nature of the compression algorithm. 2) numbers that tell a web server how much to compress a picture for faster transmission. 3) invisible defects in the picture preserved by lossless compression. 4) numbers that tell a photo editing program how much to compress a picture for faster transmission.
Answers: 3
question
Computers and Technology, 21.06.2019 23:00
The animal classthis class represents a an animal residing at a zoo. it has a weight (in pounds),height (in inches), a name, and a color. the methods in the class include constructors,getters, and a tostring. you will finish the implementation of these methods. referto the code documentation.1.getters: you will need to implement getter methods. these get a value (froma member variable) in the animal class. you will make a getter method toreturn each variable (weight, height, name, color). reference getname if youare having issues.2.tostring: you will need to finish the tostring method. this returns a stringcontaining information about an animal. the output string should be of theformat: ” (name) , a ( color )â’colored animal . ( weight ) pounds , ( height ) inches .\n”the height and weight are formatted to 1 decimal place. recall from lab 1how to format strings neatly using string. see the reference sectionfor more about string.format.
Answers: 2
question
Computers and Technology, 23.06.2019 16:50
15: 28read the summary of "an indian's view of indian affairs."15 betterin "an indian's view of indian affairs," it is asserted that conflicts could be reduced if white americansunderstood native americans..pswhich of the following would make this summary more complete? eleo the fact that chief joseph believes the great spirit sees everythinthe fact that chief joseph was born in oregon and is thirty-eight years oldo the fact that chief joseph states that he speaks from the hearthehehethe fact that chief joseph of the nez percé tribe made this claimebell- ==feetle===-felsefe ==submitmark this and retum.=
Answers: 3
question
Computers and Technology, 25.06.2019 09:20
Part d: float check string has a method s.isdigit() that returns true if string s contains only digits and false otherwise, i.e. s is a string that represents an integer. write a function named float_check that takes one parameter that is a string and returns true if the string represents a float and false otherwise. for the purpose of this function we define a float to be a string of digits that has at most one decimal point. note that under this definition an integer argument will return true. remember “edge cases” such as “45.” or “.45”; both should return true. for example: float_check('1234') returns true float_check('123.45') returns true float_check('123.45.67') returns false float_check('34e46') returns false float_check('.45') returns true float_check('45.') returns true float_check('45..') returns false
Answers: 2
You know the right answer?
This one needs a definite loop and the number iterations of that loop will be the total number of ch...
Questions
question
Mathematics, 26.06.2020 16:01
question
Mathematics, 26.06.2020 16:01
question
Biology, 26.06.2020 16:01
Questions on the website: 13722367