subject

Write a program that will input a list of test scores in from the keyboard. When the user enters -1, print the average. What do you need to be careful about when using -1 to stop a loop?

Enter the Scores:
45
100
-1

The average is: 72.5

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 02:30
If you turn on the lock alpha button , what happens
Answers: 1
question
Computers and Technology, 22.06.2019 12:40
The most complicated four letter word
Answers: 1
question
Computers and Technology, 22.06.2019 16:30
What type of file does a cookie place on web site visitors' computers so that web site managers can customize their sites to their visitors' preferences?
Answers: 1
question
Computers and Technology, 22.06.2019 20:00
What side length would you specify if you were required to create a regular hexagonal plate that was composed of 33 cm(squared) of sheet metal? dimension the side length to 0.1 cm
Answers: 2
You know the right answer?
Write a program that will input a list of test scores in from the keyboard. When the user enters -1,...
Questions
question
Mathematics, 26.03.2021 01:00
question
Mathematics, 26.03.2021 01:00
question
English, 26.03.2021 01:00
Questions on the website: 13722359