Kindly check the mistake,one test case is incorrect

hi shiva
there was small error in your code that the output for than one test cases was not displayed on the separate line.
you are required to use the endl after every testcase