I am working on a program to convert degrees Fahrenheit into degrees Celsius,
but am unable to round the result to the nearest integer when it needs to be
rounded up. I've tried several things, any advice would be helpful.
[Put the code you need help with here.]
#include <iostream>
using namespace std;
int main()
{
int F;
int C;
cout << "Please enter Fahrenheit degrees: ";
cin >> F;
C = (F - 32)/1.8;
cout << "Celsius: " << C << "\n";