Write a program that reads in lines one at a time,
and prints them out if their length (including
You can use the function getline if you like; the object
Compile and run it, then type "ready".
this line contains an odd number of letters!
this line, however, contains an even number of letters!
this line contains an odd number of letters!
/* It's certainly easiest with getline: */
while ((n = getline(line, 500)) > 0)