I m stuck here please help

There is no problem at all, i solved myself!

it does not work , when i enter 50000, the the result is 0 , not 3

Currently having problems on understanding why my amountToWithdraw is not working for this JAVA:method review. Could someone help me to understand it?