i know this is homework but i cant get this thing straight, even minor help would be appreciated i did the others but this was too hard so have to ask for help...
Write a simple line editor. The line editor supports maximum of 150 characters per line and in total 300 lines. Start the program with EDIT fileName after which the prompt appears along
with the line number. If the letter I is entered with a number n following it, then insert the text to
be followed before line n. if I is not followed by a number, then insert the text before the current line. It D is entered with two numbers n and m, one n, or no number following it, then delete lines n through m, line n, or the current line. Do the same with the command L, which stands for
listing/printing lines. Entry E signifies exit and saving the text in a file. Here is a example,
If not, write comments which describe the methodology. This can be done incrementally, so start with a few really general ones, then go back and put in more detail. Keep doing this until you are ready to write code.