What format is the program expecting ?
What have you got the line ending set to in the Serial monitor ?