![]() ![]() Print( "Temperature in Fahrenheit:", celciusToFahrenheit(num5)) Print( "Temperature in Fahrenheit:", celciusToFahrenheit(num4)) Print( "Temperature in Fahrenheit:", celciusToFahrenheit(num3)) Print( "Temperature in Fahrenheit:", celciusToFahrenheit(num2)) Print( "Temperature in Fahrenheit:", celciusToFahrenheit(num1)) # Function to convert temperature in Celcius to Fahrenheit Temperature in Fahrenheit: 68 Python Program to Convert Temperature in Celcius to Fahrenheitīelow is the Python program for Celcius to Fahrenheit conversion: # Python program to convert temperature in Celcius to Fahrenheit ![]() Function to convert temperature in Celcius to FahrenheitĬout << "Temperature in Celcius: " << num1 << endl Ĭout << "Temperature in Fahrenheit: " << celciusToFahrenheit(num1) << endl Ĭout << "Temperature in Celcius: " << num2 << endl Ĭout << "Temperature in Fahrenheit: " << celciusToFahrenheit(num2) << endl Ĭout << "Temperature in Celcius: " << num3 << endl Ĭout << "Temperature in Fahrenheit: " << celciusToFahrenheit(num3) << endl Ĭout << "Temperature in Celcius: " << num4 << endl Ĭout << "Temperature in Fahrenheit: " << celciusToFahrenheit(num4) << endl Ĭout << "Temperature in Celcius: " << num5 << endl Ĭout << "Temperature in Fahrenheit: " << celciusToFahrenheit(num5) << endl C++ Program to Convert Temperature in Celcius to Fahrenheitīelow is the C++ program for Celcius to Fahrenheit conversion: // C++ program to convert temperature in Celcius to Fahrenheit Therefore, the temperature in ☏ = (0 x 9/5) + 32 = 32 Thus, the output is 32. Therefore, the temperature in ☏ = (100 x 9/5) + 32 = 212 Thus, the output is 212. You're given a temperature num in ☌, you need to convert it into ☏. You need to multiply the ☌ temperature by 9/5 and add 32 to it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |