#include <iomanip> 
#include <iostream> 
using namespace std; 
  
int main() 
{ 
  double f; // degrees F 
  double c; // degrees C 
  cout.setf(ios::fixed|ios::showpoint); // apply formatting (see 4.2)
  cout << setprecision(1); // round to the nearest tenth
  
  while (true) // see 6.5
  { 
    cout << "Enter temperature in degrees Celsius [CTRL-C to exit]: "; // see 5.1  
    cin >> c; 
    cin.ignore(1000, 10); 
  
    f = 9.0 / 5 * c + 32; 
    cout << "The temperature in degrees F is " << f << endl; // see 3.4.1
  } // while  (see 6.5)
} // main 
