#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;
}
//Still getting the wrong answer
My test cases are not passing
hi @saurabhparashar64 please read the input format carefully, you have to take 3 values as input
Minimum Fahrenheit value
Maximum Fahrenheit value
Step
Please save your code on cb ide and share the link for future reference
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.