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
Elena L [17]
3 years ago
7

Basic C++ For Loop I'm trying to learn. Replit tells me that the for in the forloop is an error, but I don't know what's wrong.

Can anyone help?

Engineering
1 answer:
STatiana [176]3 years ago
8 0

Answer:

  curly brackets are missing

Explanation:

The body of the main() function need to be enclosed in curly brackets. Try this:

int P = 3000;

int main( ) {

  for (int t = 0; t < 10; t++) {

     cout << P;

  }

}

You might be interested in
Convert 250 lb·ft to N.m. Express your answer using three significant figures.
vfiekz [6]

Answer:

It will be equivalent to 338.95 N-m

Explanation:

We have to convert 250 lb-ft to N-m

We know that 1 lb = 4.45 N

So foe converting from lb to N we have to multiply with 4.45

So 250 lb = 250×4.45 =125 N

And we know that 1 feet = 0.3048 meter

Now we have to convert 250 lb-ft to N-m

So 250lb-ft=250\times 4.45N\times 0.348M=338.95N-m

So 250 lb-ft = 338.95 N-m

6 0
3 years ago
Pls hurry
sergey [27]

Answer:The answer is Potassium!

Explanation: This is true because each label should tell you about the available amount of a certain element. The standard order is Nitrogen-Phosphorus-Potassium. They are referred to by their standard abbreviations in the periodic table. One problem with fertilizer labels are that they are only required to disclose the amounts of macronutrients (or Nitrogen-Phosphorus-Potassium.)

5 0
3 years ago
Line(s) indicates passing is allowed if there are no oncoming cars.
anygoal [31]
Broken yellow b/c you can’t pass on a double solid yellow
5 0
3 years ago
What issues does society try to forget in order to not have to deal with them ?
velikii [3]

Answer: Homelessness, Drug addiction, Mental Illness, Climate change.

Explanation:

Society would rather be ignorant to/ ignore all of these realities so they do not have to stop specific behaviors or actually acknowledge other people and help. Sometimes people are so stressed out about their own lives, they can not bare another persons issues. People are ignorant to climate change because correcting it requires massive changes and society is selfish and unwilling to change.

6 0
2 years ago
An engineer lives in Hawaii at a location where the annual rain fall is 300 inches. She decides to use the rain to generate elec
Alex777 [14]

Answer:

80.7lbft/hr

Explanation:

Flow rate of water in the system = 3.6x10^-6

The height h = 100

1s = 1/3600h

This implies that

Q = 3.6x10^-6/[1/3600]

Q = 0.0000036/0.000278

Q = 0.01295

Then the power is given as

P = rQh

The specific weight of water = 62.3 lb/ft³

P = 62.3 x 0.01295 x 100

P = 80.675lbft/h

When approximated

P = 80.7 lbft/h

This is the average power that could be generated in a year.

This answers the question and also corresponds with the answer in the question.

4 0
3 years ago
Other questions:
  • The volume at a section of a 2-lane highway is 1800 vph in each direction and the density is approximately 30 bpm. A slow moving
    10·1 answer
  • As an employee, who's is supposed to provide training on the chemicals you are handling or come in contact with at work?
    14·2 answers
  • Viscous effects are negligible outside of the hydrodynamic boundary layer. (3 points) a. True b. False
    5·1 answer
  • A 0.25" diameter A36 steel rivet connects two 1" wide by .25" thick 6061-T6 Al strips in a single lap shear joint. The shear str
    12·1 answer
  • : A cyclical load of 1500 lb is to be exerted at the end of a 10 in. long aluminium beam (see Figure below). The bar must surviv
    6·1 answer
  • Im passed due someone help meeeeeee
    7·2 answers
  • The purpose of the international residential code is to
    9·1 answer
  • Select the correct answer. Jude is a mechanical engineer. He works in the automobile industry. He is creating a prototype of an
    13·1 answer
  • 3. What is a caliber (relate it to rockets)
    14·1 answer
  • What is the density of the mass of 24.0g and a volume of 6 ml?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!