This has nothing to do with codeblocks, but with programing. You told your program to make a new line at the end of your output and before your input, so it will show you a new line....
By signing up to this forum you agreed with the rules of this forum. And in this rules is clearly written that this forum is not the correct place for programming questions. So this topic violates the forum rules and probably will get locked...