Hi
I am having issues with understanding this problem statement how can using
C = (5/9)(F – 32) for an input of 0, 100 and 20 the output is
0 -17
20 -6
40 4
60 15
80 26
100 37
💡 Conversion (Fahrenheit to Celsius) (Problem statement query)
@idontknowhowtocode hey rohit you have given three thing where to start where to stop and the increment value so apply a loop and inside the loop use this relation
float ans=5.0/9*(i-32);
cout<<i<<" "<<(int(ans*1000))/1000<<endl;