I want to do convert Fahrenheit to Celsius and I use the formula I put cout.setf(ios::fixed); cout.precision(0); // because I want the result to be a whole number
float c;
float f;
c = 5.0/9.0*(f-32)
cout << "Enter Fahrenheit":
cin >> f;
cout << "Celsius"
<< c
<< endl;
Please, I need help is for my homework, thanks.