You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
162 B

#include<iostream>
using namespace std;
int ftoc(int);
int main()
{
int f;
cin>>f;
cout<<ftoc(f);
return 0;
}
int ftoc(int f)
{
return (5.0/9)*(f-32);
}