This program is supposed to accept a string and convert all lowercase letters to uppercase and then print them. The problem is that if i enter a sentence like
"Hello World". The output gets split into two different lines. The whole program works perfectly except that. Why is that happening?