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
Compute the volume percent of graphite, VGr, in a 3.2 wt% C cast iron, assuming that all the carbon exists as the graphite phase
Yanka [14]

Answer:

The volume percentage of graphite is 10.197 per cent.

Explanation:

The volume percent of graphite is the ratio of the volume occupied by the graphite phase to the volume occupied by the graphite and ferrite phases. The weight percent in the cast iron is 3.2 wt% (graphite) and 96.8 wt% (ferrite). The volume percentage of graphite is:

\%V_{gr} = \frac{V_{gr}}{V_{gr}+V_{fe}} \times 100\,\%

Where:

V_{gr} - Volume occupied by the graphite phase, measured in cubic centimeters.

V_{fe} - Volume occupied by the graphite phase, measured in cubic centimeters.

The expression is expanded by using the definition of density and subsequently simplified:

\%V_{gr} = \frac{\frac{m_{gr}}{\rho_{gr}} }{\frac{m_{gr}}{\rho_{gr}}+\frac{m_{fe}}{\rho_{fe}}}\times 100\,\%

Where:

m_{fe}, m_{gr} - Masses of the ferrite and graphite phases, measured in grams.

\rho_{fe}, \rho_{gr} - Densities of the ferrite and graphite phases, measured in grams per cubic centimeter.

\%V_{gr} = \frac{1}{1+\frac{\frac{m_{fe}}{\rho_{fe}} }{\frac{m_{gr}}{\rho_{gr}} } }\times 100\,\%

\%V_{gr} = \frac{1}{1 + \left(\frac{\rho_{gr}}{\rho_{fe}} \right)\cdot\left(\frac{m_{fe}}{m_{gr}} \right)} \times 100\,\%

If \rho_{gr} = 2.3\,\frac{g}{cm^{3}}, \rho_{fe} = 7.9\,\frac{g}{cm^{3}}, m_{gr} = 3.2\,g and m_{fe} = 96.8\,g, the volume percentage of graphite is:

\%V_{gr} = \frac{1}{1+\left(\frac{2.3\,\frac{g}{cm^{3}} }{7.9\,\frac{g}{cm^{3}} } \right)\cdot \left(\frac{96.8\,g}{3.2\,g} \right)} \times 100\,\%

\%V_{gr} = 10.197\,\%V

The volume percentage of graphite is 10.197 per cent.

5 0
3 years ago
Note that common skills are listed toward the top, and less common skills are listed toward the bottom.
Sladkaya [172]

Answer:

BDEG

Explanation:

got it right on the test on edge because i used my b r a i n

5 0
3 years ago
Basic concepts surrounding electrical circuitry?​
Elanso [62]
Hopefully that helps you out and is this for history or science?

3 0
2 years ago
What is the difference between filler and electrode in Welding? Can a filler be an electrode? Can an electrode be a filler? Why?
Vlada [557]

Explanation:

<u>Filler:</u>

  Filler is the material rod is used when we are joining two material by using welding process.If thickness of work piece is more so it will become compulsory to provide some filler material for making the welding join to withstand high stresses.

<u>Electrode:</u>

  Electrode is the element which is used to complete the electric circuit in welding .Some time electrode is connected with positive terminal and some time with negative terminal ,it depends on the requirement of welding process.In Tungsten inert gas welding electrode is connected negative terminal but on the other hand Metal inert gas welding electrode is connected with positive terminal.Electrode can be consumable non-consumable depends on the condition.

Yes electrode can be work as filler material ,in Metal inert gas welding wire is used as electrode as well as filler material.In Metal inert gas welding consumable electrode is used on the other hand Tungsten inert gas welding non-consumable electrode is used.In Tungsten inert gas welding if thickness of work pieces is less than 5 mm then no need to used any filler material but if thickness is more than 5 mm then we have to use filler material.

8 0
3 years ago
A tank with some water in it begins to drain. The function v ( t ) = 46 − 3.5 t determines the volume of the water in the tank (
olchik [2.2K]

Answer with Explanation:

Part a)

The volume of water in the tank as a function of time is plotted in the below attached figure.

The vertical intercept of the graph is 46.

Part b)

The vertical intercept represents the volume of water that is initially present in the tank before draining begins.

Part c)

To find the time required to completely drain the tank we calculate the volume of the water in the tank to zero.

0=46-3.5t\\\\3.5=46\\\\\therefore t=\frac{46}{3.5}=13.143minutes

Part d)

The horizontal intercept represents the time it takes to empty the tank which as calculated above is 13.143 minutes.

7 0
3 years ago
Other questions:
  • Policy makers in the U.S. government have long tried to write laws that encourage growth in per capita real GDP. These laws typi
    6·1 answer
  • The density of a certain material is such that it weighs 9 pounds per cubic foot of
    10·1 answer
  • Under conditions for which the same roojm temperature is mainteined bt a heating or cooling system, it is not uncommon for a per
    10·1 answer
  • This is a multi-part question. Once an answer is submitted, you will be unable to return to this part As steam is slowly injecte
    15·1 answer
  • Considering the two tables below called Orders and OrderLines, how many rows would be returned by this SQL query? SELECT o.Order
    10·1 answer
  • which one of the following appliance parts gets the hardest services? A. Heating elementwhich one of the following appliance par
    10·2 answers
  • Air, at a free-stream temperature of 27.0°C and a pressure of 1.00 atm, flows over the top surface of a flat plate in parallel f
    13·1 answer
  • Which of the following units of measurement is denoted by a single apostrophe mark (')?
    6·1 answer
  • Merchandise without an expiration date like electronics, tools and home goods typically have a longer
    15·1 answer
  • Agricultural economics is a study of how agriculture and business are related.<br> False<br> True
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!