Temp Conversion Program
Purpose:
-Conversions between Kelvin, Centigrade, Fahrenheit Using different factors of
code.
-Learn consts variables to set limits
-Find how to convert between major temperature
Program Link: replit.com/@jaydenzz/temp-convert-jayden?v=1
-Conversions between Kelvin, Centigrade, Fahrenheit Using different factors of
code.
-Learn consts variables to set limits
-Find how to convert between major temperature
Program Link: replit.com/@jaydenzz/temp-convert-jayden?v=1
temp-convert-jayden.zip | |
File Size: | 8345 kb |
File Type: | zip |
Sample Run
sh -c make -s
./main
1) to convert from Celsius to Fahrenheit and Kelvin
2) to convert from Fahrenheit to Celsius and Kelvin
3) to convert Kelvin to Celsius and Fahrenheit
1
Enter the temperature in Celsius between -105 and 250: 25000
Please follow directions
Enter the temperature in Celsius between -105 and 250: 250
250 Celsius is 482 Fahrenheit
250Celsius is 523 Kelvin
To repeat 1-yes , 2-no. Enter choice: 1
1) to convert from Celsius to Fahrenheit and Kelvin
2) to convert from Fahrenheit to Celsius and Kelvin
3) to convert Kelvin to Celsius and Fahrenheit
2
Enter the temperature in Farenheit between -305 and 450: 45000
Please follow directions
Enter the temperature in Fahrenheit between -305 and 450: 450
450 Fahrenheit is 232.222 Celsius
450 Fahrenheit is 709.67 Kelvin
To repeat 1-yes , 2-no. Enter choice: 1
1) to convert from Celsius to Fahrenheit and Kelvin
2) to convert from Fahrenheit to Celsius and Kelvin
3) to convert Kelvin to Celsius and Fahrenheit
3
Enter the temperature in Kelvin between -205 and 350: 35000
Please follow directions
Enter the temperature in Kelvin between -205 and 350: 350
350 Kelvin is 77 Celsius
350 Kelvin is 170.33 Fahrenheit
To repeat 1-yes , 2-no. Enter choice: 2
Thank you for trying out this program, enjoy your day :)
./main
1) to convert from Celsius to Fahrenheit and Kelvin
2) to convert from Fahrenheit to Celsius and Kelvin
3) to convert Kelvin to Celsius and Fahrenheit
1
Enter the temperature in Celsius between -105 and 250: 25000
Please follow directions
Enter the temperature in Celsius between -105 and 250: 250
250 Celsius is 482 Fahrenheit
250Celsius is 523 Kelvin
To repeat 1-yes , 2-no. Enter choice: 1
1) to convert from Celsius to Fahrenheit and Kelvin
2) to convert from Fahrenheit to Celsius and Kelvin
3) to convert Kelvin to Celsius and Fahrenheit
2
Enter the temperature in Farenheit between -305 and 450: 45000
Please follow directions
Enter the temperature in Fahrenheit between -305 and 450: 450
450 Fahrenheit is 232.222 Celsius
450 Fahrenheit is 709.67 Kelvin
To repeat 1-yes , 2-no. Enter choice: 1
1) to convert from Celsius to Fahrenheit and Kelvin
2) to convert from Fahrenheit to Celsius and Kelvin
3) to convert Kelvin to Celsius and Fahrenheit
3
Enter the temperature in Kelvin between -205 and 350: 35000
Please follow directions
Enter the temperature in Kelvin between -205 and 350: 350
350 Kelvin is 77 Celsius
350 Kelvin is 170.33 Fahrenheit
To repeat 1-yes , 2-no. Enter choice: 2
Thank you for trying out this program, enjoy your day :)