C++ Temperature Converter
Purpose
Coding a program that shows temperatures and allows conversions of temperatures. Allows the user to put in a valid temperature to convert.
Coding a program that shows temperatures and allows conversions of temperatures. Allows the user to put in a valid temperature to convert.
ihsaantemperatureconverter__1_.zip |
Sample Code
Welcome to Temperature Converter
Can you please enter your name: Ihsaan
Thankyou
Press 1 to convert to fahrenheit from celsius
Press 2 to convert to celsius from fahrenheit
Press 3 to convert to kelvin from celsius
Press 4 to convert to kelvin from fahrenheit
Press 5 to convert to celsius from kelvin
Press 6 to convert to fahrenheit from kelvin: 1
Please enter the temperature you would like to convert from celsuis to fahrenheit: 20
20 in celsuis is 68 fahrenheit
To repeat y-yes, n-no. Enter choice: n
Goodbye.