Am i doing something wrong as i m not getting it

I think the program works as it has to. It prints out the messages and the number. Since you have not put a endl between the last message and the number, it prints it in the same line.
Where do you have the problem? Was it the lack of a return between the last sentence and the number?

thanks i will put endline

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms