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
g The parameters of a certain transmission line operating at 휔휔=6 ×108 [rad/s] are 퐿퐿=0.35 [휇휇H/m], 퐶퐶=75 [pF/m], 퐺퐺=75 [휇휇S/m],
yKpoI14uk [10]

Explanation:

\begin{aligned}\gamma &=\sqrt{Z Y}=\sqrt{(R+j \omega L)(G+j \omega C)} \\&-\sqrt{|17|} j\left(6 \times 10^{8}\right)\left(0.35 \times 10^{-6}\right)|| 75 \times 10^{-6}\left|j\left(6 \times 10^{8}\right)\left(40 \times 10^{-12}\right)\right| \\&=0.094+j 2.25 \mathrm{m}^{-1}-\alpha+j \beta\end{aligned}

Therefore,

-\alpha-0.094 \mathrm{Np} / \mathrm{m} . \quad 3-2.25 \mathrm{rad} / \mathrm{m}, \text { and } \lambda-2 \pi / \beta-\underline{2.79} \mathrm{m}

Z_{0}-\sqrt{\frac{Z}{Y}}-\sqrt{\frac{R+j \omega L}{G+j \omega C}}-\sqrt{\frac{17+j 2.1 \times 10^{2}}{75 \times 10^{-6}+j 2.4 \times 10^{-2}}}-\frac{93.6-j 3.64 \Omega}{4}

5 0
3 years ago
Which traditional subject is part of construction management or construction science syllabi?
N76 [4]

Answer:mathematics

Explanation:

4 0
3 years ago
A wooden pallet carrying 540kg rests on a wooden floor. (a) a forklift driver decides to push it without lifting it.what force m
kicyunya [14]

Answer:

The appropriate solution is "1481.76 N".

Explanation:

According to the question,

Mass,

m = 540 kg

Coefficient of static friction,

\mu_s = 0.28

Now,

The applied force will be:

⇒ F=\mu_s mg

By substituting the values, we get

       =0.28\times 540\times 9.8

       =1481.76 \ N

8 0
2 years ago
An inductor has a 50.0-Ω reactance when connected to a 60.0-Hz source. The inductor is removed and then connected to a 45.0-Hz s
nignag [31]

Given:

X_{L} = 50.0 \ohm

frequency, f = 60.0 Hz

frequency, f' = 45.0 Hz

V_rms} = 85.0 V

Solution:

To calculate max current in inductor, I_{L(max):

At f = 60.0 Hz

X_{L} = 2\pi fL

50.0 = 2\pi\times 60.0\times L

L = 0.1326 H

Now, reactance X_{L} at f' = 45.0 Hz:

X'_{L} = 2\pi f'L

X'_{L} = 2\pi\times 45.0\times 0.13263 = 37.5\ohm

Now, I_{L(max) is given by:

I_{L(max) = \sqrt {\frac{2V_{rms}}{X'_{L}}}

I_{L(max) = \sqrt {\frac{2\times 85.0}{37.5}} = 2.13 A

Therefore,  max current in the inductor, I_{L(max) = 2.13 A

7 0
3 years ago
N DevOps, high levels of automation are expected, which increases productivity. Which fact illustrates this productivity increas
Bess [88]

Answer:

Less intervention of humans.

Explanation:

This fact illustrate that less intervention of human in the production is the main cause for increase in productivity because use of machinery completed the work in less time as compared to the use of human labour. In many industries, machines takes the place of humans which increases the production of products but at the same time, increase the unemployment rate in the society. Making the whole industry on automation can increase the productivity of products in less time.

3 0
3 years ago
Other questions:
  • In the 5 Code of Federal Regulations (C.F.R.), it is recommended that an individual has security awareness training before s/he
    8·2 answers
  • Determine the average and rms values for the function, y(t)=25+10sino it over the time periods (a) 0 to 0.1 sec and (b) 0 to 1/3
    9·1 answer
  • What is not required for current to flow through a conductor
    12·1 answer
  • 2- A 2-m3 insulated tank containing ammonia at -20 C, 80% quality, is connected by a valve to a line flowing ammonia at 2 MPa, 6
    14·1 answer
  • Thermodynamics deals with the macroscopic properties of materials. Scientists can make quantitative predictions about these macr
    13·1 answer
  • Consider the equation y = 10^(4x). Which of the following statements is true?
    9·1 answer
  • Parting tool purpose
    13·1 answer
  • How many 3-digits numbers which are greater than 300 can be formed from 6
    12·1 answer
  • What is code in Arduino to turn led on and off
    10·1 answer
  • Which option identifies the free resource Judi can use in the following scenario?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!