Please explain.
For example execute the code, copy the output and paste here and explain what is wrong with the output, show what the correct output would be and explain how it needs to work.