: A file named grade.txt contains the list of grades of a computer science course. Each line is a single integer value.
Write a program that creates the following files:
failing.txt containing the grades less than 6;
passing.txt containing the grades greater than or equal to 6;
statistics.txt containing the percentage of students that have passed the course, rounded to 2 decimal digits