Not getting floating output?

i think answer should have been 0.4, then why is it showing 0?