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
Andrei [34K]
3 years ago
15

For which programming task would you use a for loop?

Computers and Technology
1 answer:
kicyunya [14]3 years ago
6 0

Answer:

A. Computing the average of a list of integers of unknown length

You might be interested in
You are writing a program using the Java language. Which of the following is a requirement of Java syntax?
miv72 [106K]

Answer:

The answer to this question is given below in the explanation section.

Explanation:

"D" option is correct

           "Each statement needs to end in a semicolon."

semicolon must use in program.without semicolon program doesn't accept.so each statement needs to end in a semicolon.

4 0
3 years ago
Easy upgrade from windows xp to windows 7
LenaWriter [7]
Firstly you have to go to opera mini then search for upgrading Windows XP to Windows 7 then it will automatically upgrade to Windows 7
6 0
3 years ago
Write convert() method to cast double to int
Oksanka [162]

Answer:

Explanation:

The code provided is written in Java. The statement is provided right under the /*Type your code here*/. In Java, in order to case one primitive to another you simply need to type the primitive type that you are trying to cast too before the variable and within parenthesis. The output of the new code can be seen in the attached image below.

class LabProgram {

   public static int convert(double d){

   /* Type your code here */

      return (int) d;

}

public static void main(String[] args) {

System.out.println(convert(19.9));

System.out.println(convert(3.1));

}

}

3 0
3 years ago
What would happen if computers only had input peripherals and a CPU
Wewaii [24]
It will overheat because it don't have gpu
8 0
3 years ago
Read 2 more answers
Compare and contrast the properties of a centralized and a distributed routing algorithm. give an example of a routing protocol
Naily [24]

Answer and Explanation:

Centralized : Central node in the system gets whole data about the system topology, about the traffic and about different hubs. This at that point transmits this data to the particular switches. The benefit of this is just a single hub is required to keep the data. The hindrance is that if the focal hub goes down the whole system is down, for example single purpose of disappointment.

Distributed: Distributed nodes gets data from its neighboring hubs and afterward takes the choice about what direction to send the parcel. The weakness is that if in the middle of the interim it gets data and sends the parcel something changes then the bundle might be deferred.

Example :

Link State takes Centralized approach

Distance Vector takes Decentralize approach

8 0
3 years ago
Other questions:
  • Which of the following corresponds to the computer interface technology that uses icon, etc?
    6·1 answer
  • A model release can be either oral or written down. true or false
    11·2 answers
  • You will write a program that generates random drawings that can be drawn using the shape painter.
    5·1 answer
  • What is the correct syntax to take the first five characters from the cell A2 and place it to its right in cell A3? =RIGHT(A3,5)
    5·2 answers
  • What are the tyoe of typical application of mainframe computer<br>​
    6·1 answer
  • See the lseek_example.c file. Modify the lseek_example.c, such that it reads from an input file (named "start.txt") and will pri
    6·1 answer
  • The internet's data gathways rely on what kind of hardware devies to route data to its destination?
    14·1 answer
  • Internet speed test, why does it take some time to get maximum speed
    14·1 answer
  • Why do we need to use a VPN service?
    9·2 answers
  • Which utilities are excellent examples of connectivity software, applications that enable you to determine if a connection can b
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!