subject
Computers and Technology, 06.10.2019 04:30 kcruz87

Write a python program that asks user for integer input between 0-20 (both included) five times. every time user enters a number, program adds that number to the previously entered number and also multiply that number with the previous one and print these two outputs. if user enters a number that is outside of the specified range, the program should end with the error message ("end: invalid number"). if the user enters any of the following numbers: 5, 10, or 15, the program will not add or multiply that number with the previous one but continue to ask for user input. your program at the end should calculate the average of all 5 correct numbers that satisfy all the requirements specified above followed by a message that "program ended". the format of your output should look like: (25 points)

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 23:30
Define a function printfeetinchshort, with int parameters numfeet and numinches, that prints using ' and " shorthand. ex: printfeetinchshort(5, 8) prints: 5' 8"
Answers: 1
question
Computers and Technology, 22.06.2019 23:30
Select all that apply. which of the following are proofreading options included in microsoft word? spell check find replace grammar check formatting check
Answers: 1
question
Computers and Technology, 23.06.2019 07:30
To check spelling errors in a document, the word application uses the to determine appropriate spelling. internet built-in dictionary user-defined words other text in the document
Answers: 2
question
Computers and Technology, 23.06.2019 11:30
Auser is given read permission to a file stored on an ntfs-formatted volume. the file is then copied to a folder on the same ntfs-formatted volume where the user has been given full control permission for that folder. when the user logs on to the computer holding the file and accesses its new location via a drive letter, what is the user's effective permission to the file? a. read b. full control c. no access d. modify e. none of the above
Answers: 1
You know the right answer?
Write a python program that asks user for integer input between 0-20 (both included) five times. eve...
Questions
question
Mathematics, 22.09.2020 01:01
question
History, 22.09.2020 01:01
question
Biology, 22.09.2020 01:01
Questions on the website: 13722367