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
3) What kind of bridges direct their load along it's curve and into the
AlladinOne [14]

Explanation:

suspension is the answer

8 0
3 years ago
A steel plate has a hole drilled through it. The plate is put into a furnace and heated. What happens to the size of the inside
djverab [1.8K]

Answer:

The diameter increases

Explanation:

The expansion in the metal is uniform in every dimension

4 0
3 years ago
The basic barometer can be used to measure the height of a building. If the barometric readings at the top and at the bottom of
bixtya [17]

Answer:

h = 287.1 m

Explanation:

the density of mercury \rho =13570 kg/m3

the atmospheric pressure at the top of the building is

p_t = \rho gh  = 13570*908*0.73 = 97.08 kPa

the atmospheric pressure at bottom

p_b = \rho gh  = 13570*908*0.75 = 100.4 kPa

\frac{w_{air}}{A} =p_b -p_t

we have also

(\rho gh)_{air} = p_b - p_t

1.18*9.81*h = (100.4 -97.08)*10^3

h = 287.1 m

7 0
3 years ago
A traffic flow has density 61 veh/km when the speed is 59 veh/hr. If a flow has a jam density of 122 veh/km, what is the maximum
antoniya [11.8K]

Since this traffic flow has a jam density of 122 veh/km, the maximum flow is equal to 3,599 veh/hr.

<u>Given the following data:</u>

  • Density = 61 veh/km.
  • Speed = 59 km/hr.
  • Jam density = 122 veh/km.

<h3>How to calculate the maximum flow.</h3>

According to Greenshield Model, maximum flow is given by this formula:

q_{max}=\frac{V_f \times K_i}{4}

<u>Where:</u>

  • V_f is the free flow speed.
  • K_i is the Jam density.

In order to calculate the free flow speed, we would use this formula:

V_f =2 V\\\\V_f =2\times 59\\\\V_f=118\;km/hr

Substituting the parameters into the model, we have:

q_{max}=\frac{118 \times 122}{4}\\\\q_{max}=\frac{14396}{4}

Max flow = 3,599 veh/hr.

Read more on traffic flow here: brainly.com/question/15236911

6 0
2 years ago
Por favor. alguien me comunique con fatimalisethmateual
lions [1.4K]
Wait why do you want me to
7 0
2 years ago
Other questions:
  • 7 Single-use earplugs require a professional fitting before they can be used.
    10·2 answers
  • The boiler pressure is 38bar and the condenser pressure 0.032 bar.The saturated steam is superheated to 420 oC before entering t
    8·1 answer
  • A family quarantined at home in March/April 2020 has two dogs: a bull mastiff (Biggie), and a chihuahua (Smalls). Smalls has a b
    9·1 answer
  • Air (ideal gas) is contained in a cylinder/piston assembly at a pressure of 150 kPa and a temperature of 127°C. Assume that the
    12·1 answer
  • True or False? Duties of the company officials should be discussed
    11·1 answer
  • Output all combinations of character variables a, b, and c. If a = 'x', b = 'y', and c = 'z', then the output is: xyz xzy yxz yz
    14·1 answer
  • You are given that kc = 10-1 kg eq-1 min-1, ku = 10-3 kg2 eq-2 min-1 and [A]0 = 10 eq kg-1, where kc is the rate constant for a
    15·1 answer
  • Plot da(t) if the output voltage of the converter pole-a is vaN(t)=Vd/2+0.85 Vd/2 sin(Ï1t), where Ï1=2Ï x 60 rad/s
    12·1 answer
  • An aluminum bar 125 mm long with a square cross section 16 mm on an edge is pulled in tension with a load of 66,700 N and experi
    14·1 answer
  • (a) calculate the moment at point "c", where point "c" is the square 3'' below the centroid
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!