1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Katyanochek1 [597]
4 years ago
7

Given an array temps of doubles, containing temperature data, compute the average temperature. Store the average in a variable c

alled avgTemp. Besides temps and avgTemp, you may use only two other variables -- an int variable k and a double variable named total, which have been declared.
Mathematics
1 answer:
Zarrin [17]4 years ago
8 0

Answer:

Step-by-step explanation:

We can code this in python:

First, calculate the total temperature by iterating through temps by k

<em>for k in temps:</em>

<em>     total += k</em>

Then we can calculate the average by dividing the total by the number of items in the temps array, or the length of array

<em> avgTemp = total / len(temps)</em>

You might be interested in
20 + 10 = ___ x (4 + 2). What is the missing value in the equation?
Vilka [71]
11 is the missing value and x=2. 20+10=11x(4+2)

Hoped I helped!
3 0
3 years ago
How do you round 600 to the nearest hundred?
Svetllana [295]

Answer:

600

Step-by-step explanation:

600 hundred is already rounded.

Say if the number was 650, it would round to 700. But if it was 610 it would round to 600.

7 0
4 years ago
Quotient of 4/5 and 6/7
brilliants [131]

Answer:

0.93333333333

Step-by-step explanation:

i got this

hope this will help you

5 0
3 years ago
Read 2 more answers
Each of the walls of a room with square dimensions has been built with two pieces of sheetrock, a smaller one and a larger one.
azamat
To solve this problem you must apply the proccedure shown below:

 1. You have the following information given in the problem above:

 -  The<span> room has square dimensions and it has been built with two pieces of sheetrock, a smaller one and a larger one.

 2. Therefore, let's call

 x: the smaller one.
 y: the larger one.

 3. Then, you have that the lenght of the wall is the sum of the smaller one and the larger one:

 x+y

 4. So, the area of the room is:

 (x+y)(x+y)
 (x+y)</span>²

 Therefore, the answer is: (x+y)²
8 0
3 years ago
Use distributive property to multiply: 2 1/2 x 3 1/4
FromTheMoon [43]
2 1/2= 5/2
3 1/4= 13/4
5/2•13/4= 65/8 or 8/18
Hope this helped!
7 0
3 years ago
Other questions:
  • On june 25 ritts extended an offer of 250000 for land that had been priced for sale at 300000
    8·1 answer
  • Two numbers add to 111. The first is 19 less than the second. What are the numbers? 56, 64 46, 65 52, 59 35, 76
    13·2 answers
  • PLEASE HELP!!!<br> I don't understand ......<br> I would like an explanation as well..<br> Thanks
    5·1 answer
  • In 2011, a collector of sports memorabilia purchased specific baseball cards as an investment. Let y represent each card’s resal
    7·1 answer
  • Help???????????????????
    15·2 answers
  • Use the stem-and-leaf plot below to find the mean, median, and mode of the data set. Round to the nearest whole
    14·1 answer
  • 2.What solid figure is described by a water hose?
    8·2 answers
  • Someone help whats the work for what is 107% of 150
    12·2 answers
  • I need help ASAP plzzz
    11·1 answer
  • The sum of 8.23, 7.96 and 17.65​
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!