CODE WARS ]I[ PROGRAMMING COMPETITION
Find It
Problem 6 Division I / II 5 Points
Problem Statement
Programmers love to grep! Search an input data file using a search string and output only lines that contain that string. Searches should not be case sensitive; i.e., Put, put, and PUT should all be considered the same.
Program Input
The input file named PROG06.IN will contain several lines of text. Set up the program to receive a text input string via the keyboard, which will be used to search the input data file.
Test input.
Put text here.
Not here.
Run it on a computer.
Program Output
If the user were to enter 'put' as the input search text, the output file PROG06.OUT should contain only the lines of text that contain this string.
Test input.
Put text here.
Run it on a computer.