#include<iostream>
using namespace std;
int main()
{
int F,C;
cout<<"please enter the temperature in fahrenheit:";
cin>>F;
C=((F*5)-(5*32))/9;
cout<<" the temperature in fahrenheit:"<<F<<endl;
cout<<" the temperature in celsius:"<<C<<endl;
cout<<endl;
}
No comments:
Post a Comment