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
2 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]2 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
Consider a plane composite wall that is composed of two materials of thermal conductivities kA = 0.1 W/m*K and kB = 0.04 W/m*K a
nadya68 [22]

Answer:

q=39.15 W/m²

Explanation:

We know that

Thermal resistance due to conductivity given as

R=L/KA

Thermal resistance due to heat transfer coefficient given as

R=1/hA

Total thermal resistance

R_{th}=\dfrac{L_A}{AK_A}+\dfrac{L_B}{AK_B}+\dfrac{1}{Ah_1}+\dfrac{1}{Ah_2}+\dfrac{1}{Ah_3}

Now by putting the values

R_{th}=\dfrac{0.01}{0.1A}+\dfrac{0.02}{0.04A}+\dfrac{1}{10A}+\dfrac{1}{20A}+\dfrac{1}{0.3A}

R_{th}=4.083/A\ K/W

We know that

Q=ΔT/R

Q=\dfrac{\Delta T}{R_{th}}

Q=A\times \dfrac{200-40}{4.086}

So heat transfer per unit volume is 39.15 W/m²

q=39.15 W/m²

4 0
3 years ago
Pls help me it’s due today
hichkok12 [17]

Answer:

C. 14.55

Explanation:

12 x 10 = 120

120 divded by 10 is 12

so now we do the left side

7 x 3 = 21 divded by 10 is 2

so now we have 14

and the remaning area is 0.55

so 14.55

6 0
2 years ago
John has just graduated from State University. He owes $35,000 in college loans, but he does not have a job yet. The college loa
IRISSAK [1]

Answer:

The correct response is "821.88". A further explanation is given below.

Explanation:

According to the question,

The largest amount unresolved after five years would have been:

= 35000\times (\frac{F}{P}, 4 \ percent,5 )

= 35000\times 1.216 7

= 42584.50

Now,

time (t) will be:

= 5\times 12

= 60 \ monthly \ payments

So, monthly payment will be:

= 42582.85\times (\frac{A}{P}, 0.5 \ percent,60 )

= 42584.50\times 0.0193

= 821.88

6 0
3 years ago
John Locke believed that:
Sholpan [36]

Answer:<em>, Locke believed that human nature gave people the chance to be selfish. This is apparent with the introduction of currency. In a natural state, all people were equal and independent and alone at times, and everyone had a natural right to defend his "life, health, liberty, or possessions.."</em>

<em>Explanation:</em>

3 0
2 years ago
I'm so confused to this question <br>What is the difference between Science and Engineering? ​
muminat

Explanation:

Science is the body of knowledge that explores the physical and natural world. Engineering is the application of knowledge in order to design, build and maintain a product or a process that solves a problem and fulfills a need (i.e. a technology).

4 0
3 years ago
Read 2 more answers
Other questions:
  • Kirchoff's Law states that, by the time current has returned to its source, all
    13·2 answers
  • A hollow steel tube with an inside diameter of 100 mm must carry a tensile load of 400 kN. Determine the outside diameter of the
    12·2 answers
  • A baseband signal with a bandwidth of 100 kHz and an amplitude range of±1 V is to be transmitted through a channel which is cons
    8·2 answers
  • Which of the following is an example of a social need?
    5·1 answer
  • It's in the picture please asap
    6·2 answers
  • How many ase certifications are there for automotive technicians?
    7·1 answer
  • 3. Sitúese en la época de los faraones en Egipto. Usted es el encargado de construir una de esas fabulosas pirámides que fueron
    11·1 answer
  • 1. Explain the term engine<br>compression​
    10·2 answers
  • What’s the answer???
    9·1 answer
  • What is true about a point and shoot camera?
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!