subject

Write a code segment that uses a while loop, the input function and any other necessary code to efficiently accumulate the total of the numbers inputted by the user that are between or including 5 and 9. Trace the code assuming the user inputs the values 6, 9, 3, 5 and -1 where -1 is a sentinel value that causes the loop to terminate.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:30
Jason needs to learn a new web tool. he went through his books to understand more about it. now he wants hands-on experience with using that tool. what would him? jason can use websites where workspace is provided to test the results of your code.
Answers: 2
question
Computers and Technology, 23.06.2019 02:00
In the context of an internet connection, llc stands for leased line connection liability limited company local loop complex local loop carrier
Answers: 1
question
Computers and Technology, 23.06.2019 06:00
How can a user delete a drawing object
Answers: 1
question
Computers and Technology, 23.06.2019 19:30
What are loans to a company or government for a set amount of time
Answers: 1
You know the right answer?
Write a code segment that uses a while loop, the input function and any other necessary code to effi...
Questions
question
Chemistry, 27.10.2020 22:10
question
Mathematics, 27.10.2020 22:10
question
Mathematics, 27.10.2020 22:10
question
Mathematics, 27.10.2020 22:10
question
Mathematics, 27.10.2020 22:20
question
English, 27.10.2020 22:20
question
World Languages, 27.10.2020 22:20