Incorrect Solution 4
Each of the following programs fails to output a newline character for the case N = 1. It is expected to receive 45 marks.
Pascal version
C version
C++ version

Each of the following programs fails to output a newline character for the case N = 1. It is expected to receive 45 marks.