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
The bulk modulus of a material is 3.5 ✕ 1011 N/m2. What percent fractional change in volume does a piece of this material underg
kiruha [24]

Answer:

percentage change in volume  = 0.00285 %

Explanation:

given data

bulk modulus = 3.5 × 10^{11}  N/m²

bulk stress = 10^{7}  N/m²

solution

we will apply here bulk modulus formula that is

bulk modulus = \frac{bulk\ stress}{bulk\ strain}   ...............1

put here value and we get

3.5 × 10^{11} = \frac{10^7}{bulk\ strain}  

solve it we get

bulk strain = 2.8571 × 10^{-5}

and

bulk strain = \frac{change\ volume}{original\ volume}  

so that percentage change in volume is = 2.8571 × 10^{-5}  × 100

percentage change in volume  = 0.00285 %

6 0
3 years ago
Millions of years ago, the Sierra Nevada region began to be uplifted along a crack in Earth's crust. The region on the other sid
Evgen [1.6K]

Answer:  The correct answer is :  Fault block mountain with rough edges and steep cliffs

Explanation:  Snowy saws are an example of a mountain chain blocked by faults. The snowy mountains were formed because the tectonic movement forced some segments of the earth's crust up into irregular pieces and others down.

8 0
3 years ago
You are in charge of ordering the concrete for a basement wall concrete pour. The wall forms are all set up and ready. The wall
choli [55]

Answer:

189.15cy

Explanation:

To understand this problem we need to understand as well the form.

It is clear that there is four wall, two short and two long.

The two long are \rightarrow 120ft5in+2(10ft)

The two long are \rightarrow 122ft1in=122.08ft

The two shors are \rightarrow 86ft4.5in = 86.375ft

The height and the thickness are 14ft and 0.83ft respectively.

So we only calculate the Quantity of concrete,

Q_c = [(2*122.08)+(2*86-375)]*14*0.833\\Q_c=4864.02ft^3

That in cubic yards is equal to 180.15 (1cy=27ft^3)

Hence, we need order 5% plus that represent with the quantity

Q_{ordered}=1.05*180.15=189.15cy

8 0
3 years ago
Define a function pyramid_volume with parameters base_length, base_width, and pyramid_height, that returns the volume of a pyram
Maslowich

Hi, you haven't provided the programing language in which you need the code, I'll just explain how to do it using Python, and you can apply a similar method for any programming language.

Answer:

1. def pyramid_volume(base_length, base_width, pyramid_height):

2.     volume = base_length*base_width*pyramid_height/3

3.     return(volume)

Explanation step by step:

  1. In the first line of code, we define the function pyramid_volume and it's input parameters
  2. In the second line, we perform operations with the input values to get the volume of the pyramid with a rectangular base, the formula is V = l*w*h/3
  3. In the last line of code, we return the volume  

In the image below you can see the result of calling the function with input 4.5, 2.1, 3.0.

5 0
3 years ago
Will mark brainliest!
sukhopar [10]

Ethics in production is a subset of business ethic that is meant to ensure that the production function or activities are not damaging to the consumer or the society. Like other ethics there is a certain code of conduct or standards to be followed, however ensuring that the ethics are complied with is often difficult.

<h2>i HOPE IT'S HELP </h2>
6 0
3 years ago
Read 2 more answers
Other questions:
  • The fluid-conditioning components of hydraulic-powered equipment provide fluid that is clean and maintained at an acceptable ope
    6·1 answer
  • Write a static method named fixSpacing that accepts a Scanner representing a file as a parameter and writes that file's text to
    5·1 answer
  • How are scientific discoveries used in engineering design?
    12·1 answer
  • Convert 25 mm into in.
    13·1 answer
  • How to update android 4.4.2 to 5.1 if there isnt any update available​
    15·2 answers
  • How much energy in joule is added to a 12 g of sample of aluminum (c=0.897 J/g ◦C) to raise the temperature from 20 ◦C to 45 ◦C?
    14·1 answer
  • For a bolted assembly with eight bolts, the stiffness of each bolt is kb = 1.0 MN/mm and the stiffness of the members is km = 2.
    14·1 answer
  • Suppose a contract states that the designer should bear the responsibility if substantial differences were found between the des
    13·1 answer
  • One of the key characteristics of ________ sessions is that no idea should be immediately accepted or rejected. prototype alpha
    15·1 answer
  • Technician A says the compressor is the dividing line of the refrigeration system, low- to high-side. Technician B says the expa
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!