Answer:
Remove the && and create a nested if statement.
Explanation:
The statement ((average > 79 && average <= 89)) states a condition that the value of average is supposed to be greater than 79 and less than equals to 89. Since AND (&&) operator is being used between both the expressions so both should be true to make the condition evaluate to true. This means that value of average variable is greater than 79 AND less than or equal to 89.
Now the logical operator && can be eliminated by using nested-if statement which refers to the if statement inside another if statement. So the above statement can be written as:
if (average>79)
{
if (average<=89)
}
It will check firstly the average value for being greater than 79 (if average value is greater than 79? ) AND then check average value to see if that less than or equal to 89.
Usually in nested if statement there is an else part at the end which is executed in case all the if conditions evaluates to false.
It will be written like this:
if (average>79)
{ if (average<=89)
{ /*some block of the code to be executed in case the above two if conditions evaluate to true */ } }
else
{ //executed if both the above if conditions evaluate to false.}
Napthalene, with chemical formula of C10H8, is a non polar compound. It has a dipole moment of zero. Having a planar with D2H symmetry, results to the zero dipole moment which makes it non-polar. Hope this answers the question. Have a nice day.
It provides drinking water to major cities like Hickory, Charlotte, Gastonia, Mount Holly and Belmont. One of the impoundments, Mountain Island Lake, provides drinking water for 8% of the population of North Carolina.
Answer:
IT PROVIDES MECHANICAL ENERGY
Explanation:
Turbine is a rotatatory device that provides energy from a working fluid and converts it into mechanical energy useful for the generation of electrical energy when combine with an alternator or generator.
It is used in the production of electricity. It begins from the action of a Reactor which provides energy from large radio-active isotopes as they undergo nuclear fission. The energy produced by the Reactor is used to rotate the turbine which provides the mechanical energy needed to transfer energy from a working fluid to the generator. The generator then provides the electrical energy for transmission.