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
The Acme threading tool forms an inc luded angle of how many degrees? A. 30 B. 55 C. 29 D. 60
Schach [20]

Answer:

(C) 29°

Explanation:

ACME THREAD ANGLE : it is the angle measured between the thread axis and thread the thread flanks, with the help of thread angle we calculate the shape of screw thread it is the mean of v thread and square thread  the acme thread angle is denoted by β every thread has its own charactersistics which depends on the pitch and diameter of the thread

4 0
3 years ago
12. Which of the following letter doesn't still the same when its viewed
Mashcka [7]

Answer:

the correct answer is option B. W

3 0
3 years ago
Read 2 more answers
Teachers
IRINA_888 [86]
Uh I’m just gonna say yes because I think this is just something random
5 0
3 years ago
Determine the length of the cantilevered beam so that the maximum bending stress in the beam is equivalent to the maximum shear
Rus_ich [418]
The shear stress at any given point y1 along the height of the cross section is calculated by: where Ic = b·h3/12 is the centroidal moment of inertia of the cross section. The maximum shear stress occurs at the neutral axis of the beam and is calculated by: where A = b·h is the area of the cross section.
3 0
4 years ago
Student A pipettes 10 ml of water three times and gets the values, 10.11 ml, 10.04 ml and 9.97 ml. Student B repeats the experim
Rainbow [258]

Student A is accurate and Student B is precise.

<u>Explanation:</u>

Accuracy is nothing but how close a measured value is to its standard value. Precision means how closer two or more than two measurements are to one another, despite whether those values are accurate or not.

In Student A's measurement, 10.11 ml, 10.04 ml and 9.97 ml are closer to the standard value, so they are accurate.

Student B's value 9.45 and 9.5 are closer to one another, so it is precise.

5 0
3 years ago
Other questions:
  • A satellite orbits the Earth every 2 hours at an average distance from the Earth's centre of 8000km. (i) What is the average ang
    7·1 answer
  • True or false? Don't break or crush mercury-containing lamps because mercury powder may be released.
    8·1 answer
  • g (d) Usually, in the case of two finite-duration signals like in parts (a) and (b), the convolution integralmust be evaluated i
    7·1 answer
  • An aircraft component is fabricated from an aluminum alloy that has a plane strain fracture toughness of 40 . For an applied str
    10·1 answer
  • Why we use combination of grep with awk, explain with example?
    12·1 answer
  • An experiment is performed to determine the boiling characteristics of a special coating applied to the exposed surface. Under s
    7·1 answer
  • 6. Which of the following is considered a major disqualifying offense?
    9·2 answers
  • A customer comes in with a vehicle that needs tire rotation and wheel alignment. Your bay has a two post frame engaging lift is
    8·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
  • What is the definition of gross axle weight rating?.
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!