null return comes up on screen
Posted on 2000-05-02
Hi C gods
I have a program the does the following.
Input a list of string from the keyboard
sort them using bubble sort method
and display them on the screen;
If I put in the following :
I should get
Instead I get
For some reason the blank line I entering being interpreted as part of the sort sequence and is kicking out one of the string.
Anybody see this before..
Thanks in advance