ok here is my homework
This assignment focuses on file streams.
Your program will accept the name of an input file from theuser, and the name of an output file from the user. You may assumethe input file contains no more than 100lines.
Your program will write the lines of the input file to theoutput file in reverse line order, i.e. the first line of the inputfile becomes the last line of the output file, the second line ofthe input file becomes the second-to-the-last line of the outputfile, and so forth. Note that the lines themselves arenot reversed, only the order in which the linesappear.