C++ temperature conversion
Aditya semwal
Dec 14, 2022
Student #2210568
purpose of the program is to convert temperature from one temperature to another there is also choice to to convert to kelvin
Dec 14, 2022
Student #2210568
purpose of the program is to convert temperature from one temperature to another there is also choice to to convert to kelvin
See my program: https://replit.com/@adityasemwal15/Adityatemperture?v=1
adityatemperture.zip |
Hello welcome to this program In this program I will be conversing temperature F / f to convert Farenheit to centigrade || C / c to convert Centigrade to farenheit: w Please give the right input s Please give the right input f Give me a temperture in farenheit (-180 to 120): -181 Please give the temperture in range Give me a temperture in farenheit (-180 to 120): 121 Please give the temperture in range Give me a temperture in farenheit (-180 to 120): -110 Your answer -78.8889 C° Do you want to convert this to kelvin y or Y for yes or N or n for no: f please give the right input: Do you want to convert this to kelvin y or Y for yes or N or n for no: r please give the right input: Do you want to convert this to kelvin y or Y for yes or N or n for no: y Your answer: 194.261 K° Let's try some more convertion 1: F to C (Farenheit to centigrade) 2: C to F (Centigrade to farenheit) 3: F to K (Farenheit to kalvin) 4: C to K (Centigrade to kalvin) 5: K to C (kalvin to Centigrade) 6: K to F (kalvin to Farenheit) Pick a number: 111 Please give the right input Pick a number: 7 Please give the right input Pick a number: 3 Enter your farenheit value(-180 to 120) 11111 Please provide the right input Enter your farenheit value(-180 to 120) 44444 Please provide the right input Enter your farenheit value(-180 to 120) -11111 Please provide the right input Enter your farenheit value(-180 to 120) 110 316.15 K° Do you want to try that again, press 1 = yes, 2 = repeat the whole program, 3 to end the program 4 Please provide the right input Do you want to try that again, press 1 = yes, 2 = repeat the whole program, 3 to end the program 3 Thank you for visiting |
Hello welcome to this program
In this program I will be conversing temperature F / f to convert Farenheit to centigrade || C / c to convert Centigrade to farenheit: h Please give the right input y Please give the right input c Give me a temperture in Centigrade (-180 to 120): 11 Your answer 51.8 F° Do you want to convert this to kelvin y or Y for yes or N or n for no: g please give the right input: Do you want to convert this to kelvin y or Y for yes or N or n for no: y Your answer: 284.15 K° Let's try some more convertion 1: F to C (Farenheit to centigrade) 2: C to F (Centigrade to farenheit) 3: F to K (Farenheit to kalvin) 4: C to K (Centigrade to kalvin) 5: K to C (kalvin to Centigrade) 6: K to F (kalvin to Farenheit) Pick a number: 55 Please give the right input Pick a number: 5 Enter your Kalvin value(-180 to 120) 11111 Please provide the right input Enter your Kalvin value(-180 to 120) -11111 Please provide the right input Enter your Kalvin value(-180 to 120) 29 -244.15 C° Do you want to try that again, press 1 = yes, 2 = repeat the whole program, 3 to end the program 2 F / f to convert Farenheit to centigrade || C / c to convert Centigrade to farenheit: f Give me a temperture in farenheit (-180 to 120): 333 Please give the temperture in range Give me a temperture in farenheit (-180 to 120): 100 Your answer 37.7778 C° Do you want to convert this to kelvin y or Y for yes or N or n for no: n Let's try some more convertion 1: F to C (Farenheit to centigrade) 2: C to F (Centigrade to farenheit) 3: F to K (Farenheit to kalvin) 4: C to K (Centigrade to kalvin) 5: K to C (kalvin to Centigrade) 6: K to F (kalvin to Farenheit) Pick a number: 6 Enter your Kalvin value between (-180 to 120) 1111 Please provide the right input Enter your Kalvin value between (-180 to 120) 33 -400.27 F° Do you want to try that again, press 1 = yes, 2 = repeat the whole program, 3 to end the program 3 Thank you for visiting |