problem in exchanging values

#include <iostream>
using namespace std;

int main () {
double fahrenheit
int ftemp; //for temperature in fahrenheit

cout <<”Enter temperature in fahrenheit:\n”;
cin >>ftemp;
int ctemp = (ftemp-32)*5/9;
cout << “Equivalent in celsius is:” <<ctemp<< ‘\n’;

return 0 ;
}
Last edited on
I already solved this problem for you some minutes ago.
Stop creating new threads about the same question.
http://www.cplusplus.com/forum/beginner/27925/
Last edited on
ok.. sorry
Topic archived. No new replies allowed.