Link to home
Start Free TrialLog in
Avatar of anemos
anemos

asked on

reading lines from keyboard - simple

what condition do you have to specify in a loop which reads words
until the user enters blank?
 I am using scanf.
Avatar of cookre
cookre
Flag of United States of America image


Just read until scanf returns zero or EOF.
ASKER CERTIFIED SOLUTION
Avatar of sumant032199
sumant032199
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial