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
Basile [38]
3 years ago
8

Set the following for loop header so that it prints the numbers, 0 2 4 6 8.

Computers and Technology
2 answers:
boyakko [2]3 years ago
8 0
This is correct meaning the answer above Is correcyt
olya-2409 [2.1K]3 years ago
5 0
Option D is correct. The loop should look like this:

for (int i = 0; i < 10; i += 2)
{
     System.out.print(i + " ");
}
You might be interested in
I got a kahoot! Totally random pls join!<br><br> Code 08408519!
OlgaM077 [116]

Answer:

say less

Explanation:

5 0
3 years ago
Read 2 more answers
What is the part of a CSS declaration that describes the HTML tag?
jeyben [28]

Answer:

a selector

Explanation:

4 0
3 years ago
What is curated content?
disa [49]

Answer:

Content from the web that has been sorted through and shared on a brand’s digital platforms.

Explanation:

This type of content is created by other organizations but shared by a brand because they believe it will be of interest to their audience.

RIP 999

6 0
3 years ago
The __________ tool is present under the Windows Administrative Tools folder of the Start menu. Your answer​
Inga [223]
Administrative Tools
8 0
3 years ago
Given an array temps of doubles, containing temperature data, compute the average temperature. Store the average in a variable c
oksian1 [2.3K]

Answer:

#include <iostream>

using namespace std;

int main() {

   double temps[10]={32.2,30.1,33.5,32.8,35.0,36.7,36.8,35.6,34.9,36.9};//initialized 10 temps values.

   double avgTemp,total=0;//two varaibles declared.

   for(int k=0;k<10;k++)//for loop to calculate the average..

   {

       total+=temps[k];//adding temperature values to the total..

   }

   avgTemp=total/10;//calcualting the average..

   cout<<"The average temperature is "<<avgTemp<<endl;//printing the average temperature.

return 0;

}

Output:-

The average temperature is 34.45.

Explanation:

The above written code is in C++. An array of double temps is initialized with arbitrary 10 values.Then the average is calculated using the integer k and the average is stored in the variable avgTemp. Then it is printed on the screen.

4 0
3 years ago
Other questions:
  • Survey Q. Non-scoring: What role is played in the team? (1 correct answer)
    14·1 answer
  • Which is a feature of a strong thesis statement? A) It presents only the facts. B) It is open-ended. C) It answers the central q
    15·1 answer
  • What will be the output of the following code? &lt;?php $foo = 'Bob'; $bar = $foo; $bar = "My name is $bar"; print $bar; print $
    8·2 answers
  • Copyright applies to work at the time it was produced, written, and developed. True or False?
    10·2 answers
  • What is social media ​
    13·2 answers
  • JAVA
    12·1 answer
  • What aspects of your life are most influenced by media and technology​
    14·1 answer
  • What is the purpose of the ISOWEEKNUM function?
    10·2 answers
  • What method do phishing and spoofing scammers use
    12·1 answer
  • 8
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!