Farhenite to celsius

input 0 , 100 , 20
output 0 -17
20 -6
…
100 37
CODE IS :
int main() {
int f , c , f_min , f_max , d ;
cin>> f_min ;
cin>> f_max;
cin>>d ;
f = f_min;

while(f <= f_max){
    c = 5*(f-32)/9 ;
    cout<<f<<" "<<c<<endl;
    f = f_min + d ;
}

return 0 ;

}

hello @sp_wizard

here in place of f_min , u should use f because f is holding ur current value