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
You want to see both Michael and Meet Wally Sparks. If you purchase tickets for both
Aleonysh [2.5K]
$2.

Both tickets cost $1.50
$1.50 x 2 = $3
$5 - $3 = $2
6 0
2 years ago
Which of the following is a possible unit of ultimate tensile strength?
levacccp [35]

Answer:

Newton per square meter (N/m2)

Explanation:

Required

Unit of ultimate tensile strength

Ultimate tensile strength (U) is calculated using:

U = \frac{Ultimate\ Force}{Area}

The units of force is N (Newton) and the unit of Area is m^2

So, we have:

U = \frac{N}{m^2}

or

U = N/m^2

<em>Hence: (c) is correct</em>

4 0
3 years ago
Are designed to make it easier for employees to get health and safety Information about
iren [92.7K]

Answer:

what the options

Explanation:

4 0
3 years ago
Which of the following tape measure techniques can be used to achieve accurate measurements? Choose all that apply.
zepelin [54]

Answer: Pull.

Because it's all about height width and Breadth!

5 0
3 years ago
In a home, air infiltrates from the outside through cracks around doors and windows. Consider a residence where the total length
masya89 [10]

Answer:

Time period  = 41654.08 s

Explanation:

Given data:

Internal volume is 210 m^3

Rate of air infiltration  9.4 \times 10^{-5} kg/s

length of cracks 62 m

air density = 1.186 kg/m^3

Total rate of air infiltration = 9.4\times 10^{-5} \times 62 = 582.8\times 10{-5} kg/s

total volume of air  infiltration= \frac{582.8\times 10{-5}}{1.156} = 5.04\times 10^{-3} m^3/s

Time period = \frac{210}{5.04\times 10^{-3}} = 41654.08 s

3 0
4 years ago
Other questions:
  • Consider the following program:
    15·1 answer
  • Short-term memoryA) has a larger storage capacity than long-term memory.B) takes longer to retrieve than long-term memory.C) inv
    9·1 answer
  • What gage pressure does a skin diver experience when they dive to 35 ft in the ocean with a water temperature of 55 °F? Report y
    9·1 answer
  • The Cv factor for a valve is 48. Compute the head loss when 30 GPM of water passes through the valve.
    13·1 answer
  • Can someone Please help me..? If I'm your Onii-San then answer. And get brainliest. Make sure to explain why..
    15·1 answer
  • A civil engineer is analyzing the compressive strength of concrete. The compressive strength is approximately normal distributed
    7·1 answer
  • Which one of the following is not an economic want?
    6·1 answer
  • Why did fprtmiu78t7ty87uhyu
    12·1 answer
  • Moonbeam-Musel (MM), a manufacturer of small appliances, has a large injection molding department. Because MM's CEO, Crosscut Sa
    13·1 answer
  • In which of the following states would homes most likely have the deepest foundation?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!