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
Y_Kistochka [10]
3 years ago
5

I gave 15 min to finish this java program

Engineering
1 answer:
lisov135 [29]3 years ago
4 0

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.

You might be interested in
In , the industries with the most complaints to the Better Business Bureau were banks, cable and satellite television companies,
navik [9.2K]

Answer:

Answer for the question:

In , the industries with the most complaints to the Better Business Bureau were banks, cable and satellite television companies, collection agencies, cellular phone providers, and new car dealerships (USA Today, April 16, 2012). The results for a sample of complaints are contained in the DATAfile named BBB. Click on the datafile logo to reference the data."

is explained in the attachment.

Explanation:

Download pdf
6 0
3 years ago
Can I get a hand? Thanks y’all much luv
Lilit [14]

Answer:

C

Explanation:

3 0
3 years ago
An air conditioning system operating on reversed carnot cycle is required to remove heat from the house at a rate of 32kj/s to m
Brilliant_brown [7]

Answer:

(e) 1.64 kW

Explanation:

The Coefficient of Performance of the Reverse Carnot's Cycle is:

COP = \frac{T_{L}}{T_{H}-T_{L}}

COP = \frac{293.15\,K}{308.15\,K-293.15\,K}

COP = 19.543

Lastly, the power required to operate the air conditioning system is:

\dot W = \frac{\dot Q_{L}}{COP}

\dot W = \frac{32\,kW}{19.543}

\dot W = 1.637\,kW

Hence, the answer is E.

3 0
3 years ago
What are the three most common types of relearn procedures?
WITCHER [35]

Answer:

The three types of relearn procedures are auto relearn, stationary and OBD.

Explanation:

In TPMS system, after the direct service like adjustment of air pressure, tire rotation or replacement of sensors etc, is performed then maximum vehicle  often needs TPMS system relearn that needs to be performed.

For performing these relearn procedure, there are mainly three types:

  1. auto relearn
  2. stationary relearn
  3. OBD

After applying the relearn process, the TPMS system will again be in proper function.

8 0
3 years ago
DO you of you guys know about Any Anmial rights it is for a resercah project
gizmo_the_mogwai [7]

Explanation:

Sure! I'll give you the definition to start off-

The right of animals to be free from exploitation, domination and abuse by humans. Free-living Animals & Their Environment; To live free, animals need a place to live. Wildlife Law Program; The Wildlife Law Program focuses on the defense of wildlife and their habitats throughout the world.

Here are some examples of companies for Animal Advocates for inspiration.

PETA – People for the Ethical Treatment of Animals

International Fund for Animal Welfare – IFAW

Cincinnati Zoo & Botanical Garden

Here are some of the basic rights of animals.

- No experiments on animals.

- No breeding and killing animals for food or clothes or medicine.

- No use of animals for hard labor.

- No selective breeding for any reason other than the benefit of the animal.

- No hunting.

- No zoos or use of animals in entertainment.

4 0
2 years ago
Other questions:
  • Here u go vagdhf dis day did. Du video ioi Hi I gotta go to do something fun to do something that would you want to me see you l
    15·1 answer
  • The Manufacturing sector is the only sector where Lean manufacturing philosophy can be applied. a)- True b)- False
    12·1 answer
  • Why is a building considered a type of system?
    6·1 answer
  • A soil has the following Green-Ampt parameters Effective porosity 0.400 Initial volumetric moisture content-15% Hydraulic Conduc
    6·1 answer
  • A long, cylindrical, electrical heating element of diameter 10 mm, thermal conductivity 240 W/m·K, density 2700 kg/m3, and speci
    10·1 answer
  • Which substance(s) have no fixed shape and no fixed volume?
    5·2 answers
  • The Hubble Space Telescope is an optical imaging telescope with extremely good angular resolution. Someone discovers an object t
    13·1 answer
  • Calculate the percentage of recyclables in high socioeconomic localities.
    13·1 answer
  • In a medical lab, Sandrine is working to isolate one element from a sample of liquid material. She uses a centrifuge, a machine
    5·1 answer
  • the left rear brake drum is scored, but the right rear drum looks as good as new. technician a says the left-side drum should be
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!