Converting temperature entered by the user

Assignment Help Mechanical Engineering
Reference no: EM13945591

Your program should implement the following tasks:

1) Display to the user the purpose of this program

2) In this program you will be converting temperature entered by the user in degree Fahrenheit to a) Degree Celsius b) Degree Kelvin c) Rankine or d) Réaumur 3

3) The formulae for conversion is as follows;

Fahrenheit to Celsius
C = (F - 32) / 1.8

Fahrenheit to Kelvin
K = (F + 459.67) / 1.8

Fahrenheit to Rankine
Ra = F + 459.67

Fahrenheit to Réaumur
Re = (F - 32) / 2.25

4) You will create a main file which will call any one of the 4 functions. The name of the function files that you will create are as follows; F2C, F2K, F2Ra and F2Re where thea ctual calculation of the selected conversion will be computed.

5) Each of the function files will have temperature in Fahrenheit as the input argument and the corresponding conversion as its output argument.

6) The program is to run as many times as the user wishes.

7) At the end of the program display an output statement which has the user input (temperature) and the corresponding conversion.

Reference no: EM13945591

Questions Cloud

Brief description of your theoretical orientation : Brief description of your theoretical orientation. Then, explain at least two insights you gained about integrating your theoretical orientation into counseling techniques. Finally, explain how this might impact your future practice
Why you think an interaction would occur : Describe a hypothesis related to the area of psychology in which you are predicting an interaction.
Logitech corporation transferred : Logitech Corporation transferred $105,000 of accounts receivable to a local bank. The transfer was made without recourse. The local bank remits 85% of the factored amount to Logitech and retains the remaining 15%.
Determine the effect of the resource misallocation : Determine the dollar value of a waste-end charge that would restore efficiency to market - determine the effect of the resource misallocation
Converting temperature entered by the user : 1) Display to the user the purpose of this program 2) In this program you will be converting temperature entered by the user in degree Fahrenheit to a) Degree Celsius b) Degree Kelvin c) Rankine or d) Réaumur 3
How would this information help you to perform : How would this information help you to perform your job duties? Why did you choose this example?
Give a divide and conquer algorithm for the problem : Give a divide and conquer algorithm for the same problem that takes time theta(log(n)).
The earliest story of gilgamesh : The book goes into much further depth. The earliest story of Gilgamesh appears around 2100 B.C.E. in a cycle of poems in the Sumerian Language. (Puchner) It explains how the story as lost and rewritten by a Babylonian priest, then destroyed by the Ir..
Counseling and psychotherapy theories : An explanation of how counseling and psychotherapy theories can contribute to your professional development as a scholar-practitioner

Reviews

Write a Review

Mechanical Engineering Questions & Answers

  A double effect evaporator is to be employed in

a double effect evaporator is to be employed in concentrating 15 solution of naoh at 700f to 40. the condensing

  What is the potential temperature profile at the end

plot the evolution of the height, h, of the stable boundary layer and the strength, delta thetas, as a function of time.

  Calculate the required heat transfer to or from the reactor

it is highly desirable to make benzene from ethane from shale gas in a continious vapor-phase reaction3c2h6 --gt c6h6

  Write a program that will find the intersection point of

write a program that will find the intersection point of the following functions in the interval 0.1ltxlt1.0y1x x2

  Determine the temperature when thermal equilibrium is

an egg can be approximated as a 5.5cm diameter sphere. the egg is initially at a uniform temperature of 8c and is

  Solid glass-polymer reinforced composite rod

Solid glass-polymer reinforced composite rod (diameter = 100 mm) is simultaneously torqued clockwise (T = 1,000 Nm) and given a tensile load (P = 0). Determine shear strain. Determine extensional strains in n and t directions.

  Heat transfer to the air in the heating section

Air at 14.7 psia, 50oF, and 60% relative humidity is first heated to 72  o F in a heating section and then humidified by introducing water vapor. The air leaves the humidifying section at 75oF and 55% relative humidity.

  Carbon dioxide at 20 degrees c and a pressure of 575 kpa

1 water flows through a 45 ft pipe with a 0.5 in diameter at a flow rate of 5 gpm. what facrtion of this pipe can be

  There are 4 octahedral sites and 8 tetrahedral sites in

there are 4 octahedral sites and 8 tetrahedral sites in the fcc unit cell stated on slide 17-7 and feo has the nacl

  Construct an s-n curve applicable for zero mean stress

syt syc 111kpsi765mpasut-t sut-c 156kpsi1080mpae 30e6 ksi ef 0.14construct an s-n curve applicable for zero mean

  A rigid tank contains 5 kg of refrigerant-134a initially at

a rigid tank contains 5 kg of refrigerant-134a initially at 20degc and 140 kpa. the refrigerant is now cooled while

  Hot air is contained in a vertical frictionless

hot air is contained in a vertical frictionless piston-cylinder device.the piston has a mass of 4 kg and a

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd