I am stuck in the problem of beginner section with problem code: FLOW011 and name: Gross Salary.
What is the use of the line of code in the solution of the problem given by many others:
if(basic_salary >= 50275 && basic_salary % 100 == 75) {
gross_salary–;
}
It is a pretty straightforward question and there is no need for the above lines of code you wrote .
Hi,
We are sorry. This problem had precision issues, and has been fixed now. Now any solutions which are within 10^(-2) of the correct answer will be accepted, irrespective of the number of digits printed.
Cheers,
CodeChef