It means that the output is not at par! But, I am gettin’ the right output!
using namespace std;
int main() {
int x;
float bal;
cout.setf(ios::fixed);
cin>>x;
cin>>bal;
if(x%5!=0)
{cout<<setprecision(2)<<bal;
exit(0);
}
if(x>=bal)
{ cout<<setprecision(2)<<bal;
exit(0);
}
else
{bal=bal-(x+.50);
cout<<setprecision(2)<<bal;
exit(0);
}
return 0;
}