subject
Engineering, 01.11.2019 04:31 mdrifraf

Write a program that allows the user to convert a temperature given in degrees from either celsius to fahrenheit or fahrenheit to celsius. use the following formulas: degrees_c = 5(degrees_f− 32)/9 and degrees_f = (9(degrees_c)/5) + 32) prompt the user to enter a temperature and either a c or c for celsius or an f or f for fahrenheit. convert the temperature to fahrenheit if celsius is entered, or to celsius if fahrenheit is entered. display the result in a readable format. if anything other than c, c, f, or f is entered, print an error message and stop.

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Adouble-strand no. 60 roller chain is used to transmit power between a 13-tooth driving sprocket rotating at 300 rev/min and a 52-tooth driven sprocket. a) what is the allowable horsepower of this drive? b) estimate the center-to-center distance if the chain length is 82 pitches. c) estimate the torque and bending force on the driving shaft by the chain if the actual horsepower transmitted is 30 percent less than the corrected (allowable) power.
Answers: 3
question
Engineering, 04.07.2019 18:10
Give heat transfer applications for the following, (i) gas turbines (propulsion) ) gas turbines (power generation). (iii) steam turbines. (iv) combined heat and power (chp). (v) automotive engines
Answers: 1
question
Engineering, 04.07.2019 19:10
10 kg of co2 is initially contained at 400 kpa and 300 k. the gas constant for carbon dioxide is 189 j/lkg k) and has a specific heat ratio, k, of 1.289. isentropic expansion then occurs until the pressure is 200 kpa. a) determine the initial volume of co2 in m. b) determine the final temperature in k. c) determine the work done by the system during the expansion kl.
Answers: 2
question
Engineering, 04.07.2019 19:10
Apressure vessel with an r/t 20 cannot be treated as thin walled vessel. a)-trune b)- false
Answers: 3
You know the right answer?
Write a program that allows the user to convert a temperature given in degrees from either celsius t...
Questions
question
Mathematics, 25.08.2019 04:50
question
Mathematics, 25.08.2019 04:50