#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,
My test cases are not passing for this question
#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.