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
A plane surface 25 cm wide has its temperature maintained at 80°C. Atmospheric air at 25°C ows parallel to the surface
Gre4nikov [31]

Answer:

See the detailed answer in attached file.

Explanation :

Download docx
3 0
3 years ago
11) 6x^2-49x - 45<br> What is the factored answer to this trinomial
Lady bird [3.3K]
Factores is (6x+5)(x-9)
3 0
3 years ago
An open glass tube is inserted into a pan of fresh water at 20 °C. What tube diameter is needed to make the height of capillary
kiruha [24]

Answer:

The tube diameter is 2.71 mm.

Explanation:

Given:

Open glass tube is inserted into a pan of fresh water at 20°C.

Height of capillary raise is four times tube diameter.

h = 4d

Assumption:

Take water as pure water as the water is fresh enough. So, the angle of contact is 0 degree.

Take surface tension of water at 20°C as 72.53\times 10^{-3} N/m.

Take density of water as 100 kg/m3.

Calculation:

Step1

Expression for height of capillary rise is gives as follows:

h=\frac{4\sigma\cos\theta}{dg\rho}

Step2

Substitute the value of height h, surface tension, density of water, acceleration due to gravity and contact angle in the above equation as follows:

4d=\frac{4\times72.53\times10^{-3}\cos0^{\circ}}{d\times9.81\times1000}

d^{2}=7.39\times10^{-6}

d=2.719\times10^{-3} m.

Or

d=(2.719\times10^{-3}m)(\frac{1000mm}{1m})

d=2.719 mm

Thus, the tube diameter is 2.719 mm.

 

5 0
4 years ago
What disadvantages does traditional high-speed internet have compared with space-based internet?( choose all that apply)
N76 [4]
A,B I’m assuming I’m not sure
4 0
3 years ago
What is engine knock? What cause the engine knock problem?
antiseptic1488 [7]

Answer:

When the uneven burning of the fuel takes place due to the incorrect air/fuel mixture inside the engine cylinder, a knocking sound is observed. This is called as the engine knocking.

Explanation:

When the uneven burning of the fuel takes place due to the incorrect air/fuel mixture inside the engine cylinder, a knocking sound is observed. This is called as the engine knocking.

The engine knock problem can be caused due to the following reason

a) When the octane rating of the fuel used is low.

b) The deposition of the carbon around the cylinder walls takes place.

c) The spark plug used in the vehicle is not correct.

3 0
3 years ago
Other questions:
  • Explain why failure of this garden hose occurred near its end and why the tear occurred along its length. Use numerical values t
    15·1 answer
  • A cylindrical hot water storage tank (see sketch) for a set of collectors is located in the basement of a dwelling. The tank is
    13·1 answer
  • Explain briefly the power analogy between the fluid “water” and the Word of God.
    7·1 answer
  • Steam at 320°C flows in a stainless steel pipe (k 5 15 W/m·K) whose inner and outer diameters are 5 cm and 5.5 cm, respectively.
    6·1 answer
  • Primary U.S. interstate highways are numbered 1-99. Odd numbers (like the 5 or 95) go north/south, and evens (like the 10 or 90)
    6·1 answer
  • Technician a says that if a tapered roller bearing is adjusted to loose
    15·1 answer
  • Hãy trình bày sự hiểu biết của bạn về đo dòng điện
    9·1 answer
  • How does distribution add value to goods and services being sold,
    8·2 answers
  • Calculate moments about points A,B,C,D
    5·1 answer
  • 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.
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!