Please help me to solve these 3 problems:
1- write a program that prompts a user for a file name of an existing file that contains 10 lines of student names. next the program reads the file name reads the contents of the file byte by byte and writes them to an new output file.
========================
2- write a program that prompts a user for a file name of an existing file that contains 10 records where the length of each record is 12 characters. next the program seeks to the beginning of the 6th record, reads the records in the file and append them to the end of an existing output file that contains 3 records.
========================
3- write a program to read a series of 10 names, one per line, from a standard input, and write out those names to file1, then:
a- the program reads the content of file1 from end to beginning (reverse order) byte by byte and writes them to file2.
b- the program reads the content of file 2 from end to beginning (reverse order) byte by byte and writes them to the standard output.
thank u. and hope to help me.