1. (10) Write a program that takes a filename as a command-line input and prints to the console how many lines are in that file. Remember that the character '\n' signifies the end of a line. 2. (10) Write a program that takes two filenames as command-line inputs. It should copy the contents of the first file into the second file, except if a character is lowercase (c>='a' && c<='z') then uppercase it (c = c - 'a' + 'A') in the written-to file. 2. (20) Write a program that takes a filename as a command-line input and reads however many integers are in that file. You should print out the following statistics on the integers: mean and median (this will require you to sort your integers).