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
Rudiy27
3 years ago
9

What will the following segment of code output? score = 95; if (score > 95) cout << "Congratulations!\n"; cout <<

"That's a high score!\n"; cout << "This is a test question!" << endl; Answers: That's a high score! This is a test question! Congratulations! That's a high score! This is a test question! This is a test question! Congratulations! That's a high score! None of these
Engineering
1 answer:
Anarel [89]3 years ago
5 0

Answer:

That's a high score!

This is a test question!

Explanation:

The reason these two lines are printed and not the first one is simple. After the 'IF' condition has been stated, there is no use of parenthesis such as { and } to enclose the next lines. This means that only the first line after the 'IF' condition may be read or skipped depending on whether the condition (score>95) is met. Since the score is not larger than 95, and the 'IF' condition fails, the line 'Congratulations!' is not printed. The next two lines of the code are read as normal because they do not depend on the 'IF' condition.

You might be interested in
a solid circular shaft 150 mm diameter transmits a torque of 29820.586 N.m. find the maximum shear stress
bezimeni [28]

Answer:

45 Mpa

Explanation:

The maximum shear stress, \tau_{max}is given by

\tau_{max}=\frac {16T}{\pi d^{3}}

Where T is the torque and d is the diameter.

Substituting  29820.586 N.m for T and 0.15m for d then we obtain

\tau_{max}=\frac {16\times 29820.586}{\pi \times 0.15^{3}}=44999999.22\approx 45 Mpa

4 0
4 years ago
Steam enters a heavily insulated throttling valve at 11 MPa, 600°C and exits at 5.5 MPa. Determine the final temperature of the
7nadin3 [17]

Answer: the final temperature of the steam 581.5 °C

Explanation:

Given that;

P₁ = 11 MPa

T₁ = 600°C

exit at; P₂= 5.5 MPa

Now from superheated steam table( p=11 MPa, T=600°C)

h₁ = 3615 kJ/kg  

h₁ = h₂ ( by throttling process and adiabatic isentholpic )

from saturated steam table at; ( h= 3615 kJ/kg, P= 5.5 MPa )

Temperature = 581.5 °C

Therefore the final temperature of the steam 581.5 °C

8 0
3 years ago
Wheel diameter 150 mm, and infeed 0.06 mm in a surface grinding operation. Wheel speed 1600 m/min, work speed 0.30 m/s, and cros
gogolik [260]

Answer:

a) the average length per chip is 3 mm

b) the metal removal rate MR is 90 mm³/sec

c) number of chips formed per unit time for the portion of the operation when the wheel is engaged in the work is 4,000,000 chips/min

Explanation:

Given that;

wheel diameter = 150 mm

infeed = 0.06 mm

wheel speed = 1600 m/min = 16000000 mm/s

work speed = 0.30 m/s = 300 mm/s

cross feed = 5 mm

active grits per area = 50 grits/cm²

a)

Average length per chip

Average chip length is given by

Lc = √fd

f is infeed and d is diameter of the wheel

so we substitute

Lc = √( 0.06 × 150

Lc = √ 9

Lc = 3 mm

Therefore the average length per chip is 3 mm

b)

metal removal rate MR is expressed as;

MR = fvc

v is work speed, c is cross feed and f is infeed

so we substitute

MR = 0.06 × 300 × 5

MR = 90 mm³/sec

Therefore the metal removal rate MR is 90 mm³/sec

c)

number of chips formed per unit time is expressed as

No = Vw × c × G

Vw is wheel speed and G is active grits per area

so we substitute

No = 1600000 × 5 × 50/10²

= 4,000,000 chips/min

Therefore number of chips formed per unit time for the portion of the operation when the wheel is engaged in the work is 4,000,000 chips/min

4 0
3 years ago
I WILL GIVE 20 POINTS!!
Alex777 [14]

Answer:

Use a resume header

Explanation:

Create a Summary

Research industry, employer keywords

there are some hints okay

5 0
3 years ago
Read 2 more answers
What are the main differences between structured,<br> O-O, and agile development methods?
fgiga [73]

Answer:While structured analysis sees procedures and information as isolated segments, object-oriented (O-O) analysis joins information and the procedures that follow up on the information into things called objects. O-O analysis utilizes protest models to show information, conduct, and by what implies objects influence different articles. By portraying the items (information) and techniques (forms) expected to help a business task, a framework engineer can outline reusable segments for quicker framework usage and diminished advancement cost.Numerous experts trust that, contrasted and organized examination, O-O strategies are more adaptable, effective, and reasonable in the present unique business environment. Agile improvement techniques have pulled in a wide after and a whole network of clients.

Agile  strategies ordinarily utilize a winding model, which speaks to a progression of cycles, or revisions,which depend on client criticism. Advocates of the winding model trust that this approach lessens dangers and accelerates programming advancement. Investigators ought to perceive that lithe techniques have points of interest and hindrances. By their tendency, dexterous strategies enable designers to be considerably more adaptable and responsive, however can be less secure than more customary techniques.For instance, without a point by point set of framework necessities, certain highlights asked for by a few clients won't not be predictable with the organization's bigger course of action. Other potential disservices of versatile strategies can incorporate feeble documentation, obscured lines of responsibility, and too little accentuation on the bigger business picture. Additionally, except if legitimately executed, a long arrangement of emphases may really add to extend cost and advancement time.

4 0
3 years ago
Other questions:
  • When the desired section has been cut out and is not seen elsewhere on the drawing, a(n) ____is being used.
    15·1 answer
  • How do you measure 1/8 teaspoon if you<br> only have a 1/4 teaspoon?
    11·2 answers
  • For flow over a flat plate with an extremely rough surface, convection heat transfer effects are known to be correlated by the
    12·1 answer
  • A steam turbine has an inlet of 3 kg/s water at 1200 kPa, 350 °C and velocity 15 m/s. The exit is at 100 kPa, 150 °C and very lo
    13·1 answer
  • Which one of the following women won the American Mathematical Society Scatter Prize, a Clay Mathematics Institute Fellowship, a
    8·1 answer
  • A 90-hp (shaft output) electric car is powered by an electric motor mounted in the engine compartment. If the motor has an avera
    8·1 answer
  • I wuv little space :)
    8·1 answer
  • 13. The members installed vertically over and under a window opening are called
    9·1 answer
  • For a small company it's usually best to keep the corporate and brand image as___ as possible​
    9·1 answer
  • A programmable integrated circuit (PIC) is another name for a microcontroller.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!