My test cases are not passing for this question

#include
using namespace std;
int main() {
int f = 0;
int c;
while(f<=100){
c = (5*(f-32))/9;
cout<<f<<" "<<c<<endl;
f += 20;
}
return 0;
}
// This is my solution but my testcases are not passing,

hello @saurabhparashar64
dont harcode the value.
write code to take input and then use those values

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

no bro it is still not correct.

check input format of the problem.