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
15

Task Three :Write a C++ program to read temperature

Engineering
1 answer:
leva [86]2 years ago
3 0

Answer:

Write a program in C++ to convert temperature in Fahrenheit to Celsius.

Sample Solution:

C++ Code :

#include <iostream>

using namespace std;

int main()

{

   float frh, cel;

cout << "\n\n Convert temperature in Fahrenheit to Celsius :\n";

cout << "---------------------------------------------------\n";

   cout << " Input the temperature in Fahrenheit : ";

   cin >> frh;

   cel = ((frh * 5.0)-(5.0 * 32))/9;

   cout << " The temperature in Fahrenheit : " << frh << endl;

   cout << " The temperature in Celsius : " << cel << endl;

cout << endl;

   return 0;

Explanation:

You might be interested in
The underground storage of a gas station has leaked gasoline into the ground. Among the constituents of gasoline are benzene, wi
vovangra [49]

Answer:

a) benzene = 910 days

b) toluene = 1612.67 days

Explanation:

Given:

Kd = 1.8 L/kg (benzene)

Kd = 3.3 L/kg (toluene)

psolid = solids density = 2.6 kg/L

K = 2.9x10⁻⁵m/s

pores = n = 0.37

water table = 0.4 m

ground water = 15 m

u = K/n = (2.9x10⁻⁵ * (0.4/15)) / 0.37 = 2.09x10⁻⁶m/s

a) For benzene:

R=1+\frac{\rho * K_{d}  }{n}, \rho = 2.6\\ R=1+\frac{2.6*1.8}{0.37} =13.65

The time will take will be:

t=\frac{xR}{a} , x=12,a=0.18\\t=\frac{12*13.65}{0.18} =910days

b) For toluene:

R=1+\frac{2.6*3.3  }{0.37} = 24.19

t=\frac{12*24.19}{0.18} =1612.67days

6 0
2 years ago
Read 2 more answers
What different tests did the team perform to come up with a workable design?
I am Lyosha [343]
They ran different shapes and materials through a wind tunnel to see which shape and material would decrease energy output so that it takes in equal COthan it puts out.
5 0
3 years ago
Thermosets burn upon heating. a)-True b)- false?
hram777 [196]

Answer:

true

Explanation:

True, there are several types of polymers, thermoplastics, thermosets and elastomers.

Thermosets are characterized by having a reticulated structure, so they have low elasticity and cannot be stretched when heated.

Because of the above, thermosetting polymers burn when heated.

5 0
2 years ago
1. There are two categories (shapes) for the Virginia driver's license. The ________________________ shape license represents th
dolphi86 [110]

Answer:

Vertical; horizontal.

Explanation:

The Virginia Department of Motor Vehicles started issuing sets of newly designed driver's licenses to drivers in 2009. Although, the cards that were issued to drivers prior to the introduction of the new cards remained valid until they were expired.

There are two categories (shapes) for the Virginia driver's license. The vertical shape license represents the driver who is under the age of 21, and the horizontal shaped license represents the driver who is over the age of 21.

Additionally, the Virginia's driver license (vertical in shape) issued to drivers who are under the age of 21 has a background image of a dogwood flower while the horizontal shaped license issued to drivers who are over the age of 21 has a background image of the state capitol.

5 0
2 years ago
What is the De Broglie wavelength of an electron under 150 V acceleration?
yanalaym [24]

Answer:

0.1 nm

Explanation

Potential deference of the electron is given as V =150 V

Mass of electron m=9.1\times 10^{-31}

Let the velocity of electron = v

Charge on the electron =1.6\times 10^{-19}C

plank's constant h =6.67\times 10^{-34}

According to energy conservation eV =\frac{1}{2}mv^2

v=\sqrt{\frac{2eV}{M}}=\sqrt{\frac{2\times 1.6\times 10^{-19}\times 150}{9.1\times 10^{-31}}}=7.2627\times 10^{-6}m/sec

Now we know that De Broglie wavelength \lambda =\frac{h}{mv}=\frac{6.67\times 10^{-34}}{9.1\times 10^{-31}\times 7.2627\times10^6 }=0.100\times 10^{-9}m=0.1nm

4 0
3 years ago
Read 2 more answers
Other questions:
  • Explain in detail the difference between the microstructures of a cold worked sample and Recrystallized sample ?
    15·1 answer
  • Why do we write proton ions first before electron ions? <br>​
    10·1 answer
  • A nozzle receives an ideal gas flow with a velocity of 25 m/s, and the exit at 100 kPa, 300 K velocity is 250 m/s. Determine the
    14·1 answer
  • Calculate the density of the FCC nickel lattice with an interstitial hydrogen in the centered position of the unit cell. You may
    10·1 answer
  • A heat pump with refrigerant-134a as the working fluid is used to keep a space at 25°C by absorbing heat from geothermal water t
    8·1 answer
  • Why would Chris most likely conclude that he should seek help? A. He feels in control of his emotions even though people annoy h
    15·2 answers
  • Which of the following is NOT a true statement about construction drawings?
    5·1 answer
  • How long will it take a Honda Civic to travel 118 miles if it is travelling at an average speed of 72 mph?
    6·1 answer
  • Fluid systems can distribute pressure unequally to all points in a system.<br><br> True<br> False
    15·1 answer
  • Writing an excellent problem statement will not help guide you through the rest of the process and steer you towards the BEST so
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!