What is wrong in my code so no test cases are passed but custom output is correct

#include
using namespace std;
int main() {
float f;
int c;
cin>>f;
c=(f-32)*5/9;
cout<<f<<" "<<c;
return 0;
}

@rathidevesh906_1dcc73a061c159bb, check the updated code https://ide.codingblocks.com/s/657591, your logic was correct but it need to do in step wise manner

@rathidevesh906_1dcc73a061c159bb, Hope this solves the problem

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.