College

In the following program, the user enters the temperature in Fahrenheit, and the program converts the entered value into Celsius using the Fahrenheit to Celsius conversion formula.

Answer :

The following program is written in C++ that prompts the user to enter the temperature in Fahrenheit and then the program converts the entered value into Celsius:

#include

using namespace std;

int main()

{

float fahrenheit, celsius;

cout << "Enter the temperature in fahrenheit: ";

cin >> fahrenheit;

celsius = 5 * (fahrenheit - 32) / 9; // formula to convert fahrenheit to celsius

cout << fahrenheit <<" Fahrenheit is equal to " << celsius <<" Celsius";

return 0;

}

Output is attached in the picture given below:

You can learn more about C++ programs at

https://brainly.com/question/27019258

#SPJ4