Write a program which copies all lines containng
the letter 'p' from its input to its output.
Compile and test it; then type "ready".
mountain station south orange maplewood millburn short hills
new providence murray hill berkeley heights
bernardsville far hills peapack gladstone
hoboken harrison newark roseville avenue grove street
east orange brick church orange highland avenue
mountain station south orange maplewood millburn short hills
summit chatham madison convent station morristown
new providence murray hill berkeley heights
gillette stirling millington lyons basking ridge
bernardsville far hills peapack gladstone
/* a way to find lines with 'p' */
while (getline(line, 500) > 0)
for (k = 0; line[k] != '\0'; k++)