Convertion of temp?

my code is passing first test xase but failing in 2 dunno i even considered abrt negative bunber and dunno haw to deal with that
#include
using namespace std;
#include
int main()
{
int f , max , c;
cin>>f>>max;
f = abs(f);
max = abs(max);
while( f <=max)
{
c = (5 * (f - 32)/9);
cout<<f<<" "<<c<<endl;
f = f + 20;
}
return 0;
}

hello @farid.chorshanbiev

u need to read steps as well.
then take a jump equal to steps ( currently u are taking a jump of 20 ,which can change .

read input format for more details

could u make a change on m code because i have declared and read for steps however still facing problem my second case is not accepted

i have made the required chnages in ur code .
pls check here->