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
lozanna [386]
3 years ago
15

What does the following program segment do? Declare Count As Integer Declare Sum As Integer Set Sum = 0 For (Count = 1; Count &l

t; 50; Count++) Set Sum = Sum + Count End For
Engineering
1 answer:
Troyanec [42]3 years ago
6 0

1225

<u>Explanation:</u>

This segment helps initialize sum as 0. The for loop is used to increment with every execution and it is added to the sum. The loop runs 49 times and every time the count is added to the sum. In short it is the sum of first 49 natural numbers i.e 1+2+3+......+49.

You might be interested in
Define, in words the following i relative humidity ii) dew point temperature
defon

Explanation:

i) When we divide water vapor's partial pressure by the water's equilibrium vapor pressure at a given temperature we get relative humidity.

It is denoted by ∅

\phi ={\frac {p_ {H_{2}O} }{p_{H_{2}O} ^{*}}}

ii) When air is cooled so that it becomes saturated with water vapor the temperature where this occurs is called the dew point.

7 0
3 years ago
What is the angle of the input
olga55 [171]
Absolute positions — latitudes and longitudes
Relative positions — azimuths, bearings, and elevation angles
Spherical distances between point locations
3 0
3 years ago
Emergency plans are being formulated so that rapid action can be taken in the event of an equipment failure. It is predicted tha
chubhunter [2.5K]

Answer:

Ammonia gas a hazardous gas to our health, when we are exposed to it for a long time. The gas is lighter than air, that means it's high concentration may not be noticed at the point of leakage, because it flows with the wind direction. Ammonia gas detector are used to determine the concentration of the gas at a particular place. We can use the dispersion modelling software program to know the exact position, where we can place the gas detector, which would be where evacuation is needed.

During evacuation, when the concentration of the gas has increased, a self-contained breathing apparatus should be used for breathing, and an encapsulated suit should be worn to prevent ammonia from reacting with our sweat or any other chemical burn. A mechanic ventilation will also be needed in the place of evacuation, so that the ammonia concentration in that area can be dispersed.

7 0
3 years ago
Read 2 more answers
I gave 15 min to finish this java program
lisov135 [29]

Answer:

class TriangleNumbers

{

public static void main (String[] args)

{

 for (int number = 1; number <= 10; ++number) {

  int sum = 1;

  System.out.print("1");

  for (int summed = 2; summed <= number; ++summed) {

   sum += summed;

   System.out.print(" + " + Integer.toString(summed));

  }

  System.out.print(" = " + Integer.toString(sum) + '\n');

 }

}

}

Explanation:

We need to run the code for each of the 10 lines. Each time we sum  numbers from 1 to n. We start with 1, then add numbers from 2 to n (and print the operation). At the end, we always print the equals sign, the sum and a newline character.

4 0
3 years ago
Plssssssssssssss Alexi is writing a program which prompts users to enter their age. Which function should she use?
aleksandr82 [10.1K]

Answer:

int()

Explanation:

float() is using decimals, so that can't be it, like float(input( "how much does this cost?"))

print() is used to print something, not a user asking, like print("hello")

string() means like a whole, like string( I am good)

By elimination, int() is correct.

Hope this helps!

7 0
2 years ago
Other questions:
  • What is the steady-state value of the output of a system with transfer function G(s)= 6/(12s+3), subject to a unit-step input?
    5·1 answer
  • An air conditioner using refrigerant-134a as the working fluid and operating on the ideal vapor-compression refrigeration cycle
    7·2 answers
  • Why do many sources of water need treatment
    10·1 answer
  • Solving Expressions Analytically 1 point Consider the following equation, which describes the speed of sound a in an ideal gas:
    12·1 answer
  • What is the command in the java script that receives data from the user
    10·1 answer
  • Cryogenic liquid storage. Liquid oxygen is stored in a thin-walled spherical container, 96 cm in diameter, which is further encl
    10·1 answer
  • Draw a sketch of the following situations identifying the system or control volume, and the boundary of the system or the contro
    10·1 answer
  • A _______ contact allows current to flow when the switch's operator is not activated.?
    6·1 answer
  • The diameter of a cylindrical water tank is Do and its height is H. The tank is filled with water, which is open to the atmosphe
    11·1 answer
  • Select the correct answer
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!