Computers and Technology

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

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 21:30, elsauceomotho
Im doing this last minute and literally none of my neighbors or people that my dad works with use excel so if anyone could me make up an example
Answers: 1
image
Computers and Technology, 24.06.2019 12:00, exoticbunnylover123
Which spreadsheet operation does a look function perform?
Answers: 1
image
Computers and Technology, 24.06.2019 21:30, asimms8504
Suppose a router has built up the routing table shown in the table. subnet number 128.96.39.00 28.96.39.128 128.96.40.00 192.4.153.0 default) subnet mask 255.255.255.128 255.255.255.128 255.255.255.128 255.255.255.192 nexthop interface 0 interface 1 r2 r3 r4. the router can deliver packets directly over interfaces 0 and 1, or it can forward packets to routers r2, r3, or r4. describe what the router does with a packet addressed to each of the following destinations: (a) 128.96.39.10 (b) 128.96.40.12 (c) 128.96.40.151 (d) 192.4.153.17 (e) 192.4.153.90
Answers: 3
image
Computers and Technology, 25.06.2019 08:10, nyameneak
Which of the following is an example of an input device? a barcode readeran organic light-emitting diodean inkjet printera cathode ray tube
Answers: 1
Do you know the correct answer?
Write a program that will input a list of test scores in from the keyboard. When the user enters -1,...

Questions in other subjects:

Konu
Mathematics, 05.02.2021 23:40
Konu
Mathematics, 05.02.2021 23:40