#using <mscorlib.dll> using namespace System; void FahrenheitToCelsius() { int Cels, Fahr; Console::Write("Enter the temperature in Fahrenheit: "); String *dTemp = Console::ReadLine(); Fahr = dTemp->ToInt32(0); Cels = 5 * (Fahr - 32) / 9; Console::Write(S"\nConversion from Fahrenheit to Celsius: "); Console::WriteLine(S"{0}F = {1}C\n", Fahr.ToString(), Cels.ToString()); } int _tmain() { // TODO: Please replace the sample code below with your own. FahrenheitToCelsius(); return 0; }