Why is the output always "0"?

Printable View