0
how to terminate string with eof?
So here is my program that takes in a string with line breaks and terminates with entering eof. but it doesnt run, can anyone help and explain what's wrong https://code.sololearn.com/cY3IvgFC57bQ/?ref=app
2 Antworten
+ 1
It runs perfectly. You only output the empty string you read at eof.
0
you can enter input only once in here
try it somewhere else