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
lakkis [162]
3 years ago
4

Given an array temps of double, containing temperature data, and an int variable n that contains the number of elements in temps

: Compute the average temperature and store it in a variable called avgTemp. Besides temps, n, and avgTemp, you may use only two other variables -- an int variable k and a double variable total, which have been declared.
Computers and Technology
1 answer:
ICE Princess25 [194]3 years ago
6 0

Answer:

The answer for the given question is :  

total=0;      // initialize the variable "total" to 0

for (k=0; k<n; k++) {     //set for loop

total += temps[k];

}

avgTemp =total/n;     //the answer will be stored in "avgTemp" variable

Explanation:

Here, we set variable "total" and initialize to 0.

Then, we set the for loop which starts from 0 and stops at "n".

After, that we calculate the average temperature and store the result of calculation in "avgTemp" variable.

You might be interested in
Your auto insurance policy has a $200 monthly premium and $700 deductible. what is the maximum amount you will have to pay out o
saul85 [17]
Your monthly premium is the payment you make to your car insurance company that keeps your coverage active.

A car insurance deductible is the amount of money you have to pay toward repairs before your insurance covers the rest.

Therefore $700 is the maximum amount you will have to pay
<span>out of pocket for a car accident before your insurance covers your cost.</span>
4 0
3 years ago
A window frame will expand to fill the entire desktop when you A. double-click the horizontal scroll bar. B. click the title bar
user100 [1]
B click the title bar marked with a single square
3 0
3 years ago
Read 2 more answers
1. The advancement of media and information bring society countless opportunities such<br>as...​
rjkz [21]

Answer:

The advancement of media and information bring society countless opportunities such as quick access to information that helps people during their daily lives and problems.

Thus, for example, nowadays the use of the internet and social networks allows individuals very fast access to different methods of solving everyday problems: a clear example is the tutorial videos where it is explained how to carry out a certain activity or arrangement of a break on a specific asset, providing users with a quick solution to their daily problems.

5 0
3 years ago
Select the correct statement(s) regarding Frame Relay (FR). a. FR is a connection-oriented standard that operates at the OSI lay
DedPeter [7]

Answer:

d. all of the statements are correct

Explanation:

Frame Relay is a high-performance WAN protocol that operates at the physical and data link layers of the OSI reference model. i.e Layers 1 and 2 They are designed to cope with bursty traffic. Frame relay is also a form of data networking based on packet switching in which the packets are variable in length and experience packet delays.

Based on the above definition the correct statement is option d as all of the statements define in the other option correctly defines the function of frame relay.

7 0
3 years ago
modern managed cloud service providers will often use secure keyboard/video/mouse (kvm) devices within their data centers. these
professor190 [17]

A cloud service providers uses KVM in their data centers because they are gravely concerned with insider threats.

KVM is a system for management, monitoring and control of a data center environment from a central location. In the data center this system is very necessary because the data center has multiple servers and computers. With this system the server can be connected and controlled from a remote location. This includes mapping the physical locations of accessible virtual drives.

Your question is incomplete, but most probably you full question was:

Modern managed cloud service providers will often use secure Keyboard/Video/Mouse (KVM) devices within their data centers. these devices are extremely expensive compared to their non-secured counterparts. which of the following is one of the reasons cloud service providers do this?

  • They have plenty of revenue and can afford it
  • They are gravely concerned with insider threats
  • Cloud data centers need very few of these devices
  • Managed cloud providers often manufacture their own devices as well

Learn more about servers brainly.com/question/27960093

#SPJ4

7 0
1 year ago
Other questions:
  • Anybody play apex legends? I need somebody to climb with in comp (I main octane)
    15·1 answer
  • Which was the first media-sharing website that allowed users to submit their own work on the site?
    7·1 answer
  • Interactive media professionals are unique among other Information Technology professionals because they
    7·1 answer
  • What is the drawback of the linear model?
    5·2 answers
  • In a client/server architecture, an optional _____ is sometimes used to pass bulk information to the server. a. request line b.
    8·1 answer
  • “Union-compatible” means that the ____.
    13·1 answer
  • How to fix this.. facing this problem to upload logo
    12·1 answer
  • write a program that inserts on the p position of a string read from the keyboard also another string read from the keyboard
    11·1 answer
  • Gina, an IT professional, noticed that the servers were running very slowly. She evaluated the system and made a recommendation
    9·2 answers
  • PLEASEEE HELPPP im gonna cry
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!