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
What is the area enclosed by the cycle area of the Carnot cycle illustrating on a P-V diagram?
Inga [223]

Answer:

The work of the cycle.

Explanation:

The area enclosed by the cycle of the Pressure-Volume diagram of a Carnot engine represents the net work performed by the cycle.

The expansions yield work, and this is represented by the area under the curve all the way to the p=0 line. But the compressions consume work (or add negative work) and this is substracted fro the total work. Therefore the areas under the compressions are eliminated and you are left with only the enclosed area.

7 0
3 years ago
A car accelerates from O to 60. miles per hour in 5.2 seconds. Calculate acceleration in m/s seconds. Calculate acceleration in
DochEvi [55]

Answer:

a=5.515\frac{m}{s^{2} }

Explanation:

The first thing we will do is convert the units. Miles per hour to meters per second.

1 mile=1609.34 mts.

1 hora=3600 segundos

Performing the operations

60\frac{mile}{h}=\frac{(60*1609.34)}{3600}\frac{m}{s}=26.822\frac{m}{s}

Now, we will use the acceleration formula

a=\frac{v}{t}

Where v = speed and t = time

Substituting the values ​​of t=5.2s

a=\frac{v}{t} =\frac{26.822\frac{m}{s} }{5.2s} =5.15\frac{m}{s^{2} }

7 0
3 years ago
1. Give the most space to
Nikitich [7]
Closest one is A. “The largest Vehicle”
3 0
3 years ago
Unfiltered full wave rectifier with a 120 V 60 Hz input produces an output with a peak of 15V. When a capacitor-input filter and
Alborosie

Answer:

V_{pp}=2V

Explanation:

Source Voltage V= 120V

Frequency f=60Hz

Peak output voltage Vp=15V

Peak Output Voltage with filter V_p'=14V

Generally the equation for Peak to peak voltage is mathematically given by

V_p'=V_p-\frac{V_{pp}}{2}

Therefore

V_{pp}=2(V_p-v_p')

V_{pp}=2(15-14)

V_{pp}=2V

5 0
2 years ago
Given vectors A = xˆ2−yˆ +zˆ3 and B = xˆ3−zˆ2, find a vector C whose magnitude is 9 and whose direction is perpendicular to both
natka813 [3]

Answer:

Vector C = 1.334i + 8.671j + 2k or 1.334x + 8.671y + 2z

Explanation:

The concept applied to solve the question is cross product of vector, AXB since vector C is perpendicular to vector A and B and this is solved by applying the 3X3 determinant method.

A detailed step by step explanation is attached below.

7 0
3 years ago
Read 2 more answers
Other questions:
  • Stream Piracy – Kaaterskill, NY. Check and double-click the Problem 15 folder. The dark blue and orange streams highlight the pr
    14·1 answer
  • Some signs of aggressive drivers include
    5·1 answer
  • How did Atlantis benefit from lessons learned in construction of earlier orbiters?
    9·1 answer
  • A closed, rigid, 0.45 m^3 tank is filled with 12 kg of water. The initial pressure is p1 = 20 bar. The water is cooled until the
    15·1 answer
  • Design a posttest-only experiment that would test each of the following causal claims. For each one, identify the study’s indepe
    13·1 answer
  • If you measure 0.7 V across a diode, the diode is probably made of
    6·1 answer
  • The drag coefficient of a vehicle increases when its windows are rolled down or its sunroof is opened. A sports car has a fronta
    13·2 answers
  • Summarize the difference in hydraulic and pneumatic systems.
    12·1 answer
  • A particular cloud-to-ground lightning strike lasts 500 µµsec and delivers 30 kA across a potential difference of 100 MV. Assu
    14·1 answer
  • Should i show my face?
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!