C++ Temperature Converter.
The student's programming assignment. Using C++ code Temperature Converter Create a temperature conversion program that will convert the following to Fahrenheit: Celsius Kelvin Newton Your program should take a character which represents the temperature to convert from and a value to be converted to using the following specification: C - Celsius K - Kelvin N - Newton In addition, your program should take in the following character to exit the program: X - eXit the program The numeric input for your program should be of type double. The program will continue to input and convert temperatures until the 'X' character is input for the conversion type. Your input should be in the following form: 60 C This would convert the 60 degrees Celsius to Fahrenheit and should output a value of 140. The following equations can be used to convert the different temperature types to Fahrenheit: Kelvin - F = (K - 273.15) * 1.8000 + 32 Celsius - F = C * 9/5 + 32 Newton - F = N * 60 / 11 + 32 Required: You are not allowed to use a do-while loop for this program. Use a while loop in conjunction with a switch statement. Please review the information on prime loops. You must prime your loop with input from the keyboard before the while loop starts. The program should continue converting temperatures until X is entered as a conversion type. Your program should run like the following: C:- C:WINDOWSsystem32cmd.exe - Tis temperature conversion program converts other temperature types to Fahrenheit. The temperature types are: Celsius, Kelvin, Newton, eXit. To use the converter, you must input a value and one of the temperature types. Please enter a value and its type to be converted: 38 38C is 100.4 in Fahrenheit. Please enter a value and its type to be converted: 100 K 100K is -279.67 in Fahrenheit. Please enter a value and its type to be converted: 45 N 45N is 277.455 in Fahrenheit. Please enter a value and its type to be converted: Press any key to continue. My email address: [email protected] Link To Source Code: https://drive.google.com/file/d/1-q1Vx1mszzGN2Rqoetlk4j8qZbacXgQA/view?usp=sharing #SolveMyProgrammingTask #cpplus #cppfullcourse #CPPProgramming #LearnCoding #ask4help #CPPLanguage #cplusplusfullcourse #cpptutorial #cppcompletetutorial #cppcourseforbeginners
Download
1 formatsVideo Formats
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.