Why my program cannot calculate the decimal value?

Printable View