java computation issue

Printable View