When i run my code on dev c++ it only gives me integer part

when i run the modifiesd code on dev c++ compiler then it gives only integer part as an output but it should give both integer part and precision part