
Ralph W. answered 06/06/21
To learn is to win, be a winner with me
This and is in C#, however, it can be converted to C++:
/////////////////////////////////////////////////////////////////////////////////////
Console.WriteLine("Hello World!");
//Temp Conversion
Console.WriteLine("Enter The Input: ");
string temp = Console.ReadLine();
double.TryParse(temp, out double fDegree);
double conFactor = 5.0 / 9.0;
double cDegree = (conFactor) * (fDegree - 32);
Console.WriteLine("Output: " + cDegree.ToString("#.##"));
////////////////////////////////////////////////////////////////////////////////////////////////
Output
//////////////////////////////////////////////////////////
Hello World!
Enter The Input:
130 F
Output: 54.44 C
Thank you! Come again!
/////////////////////////////////////////////////////////