Programming Homework Help

Morgan State University Java Coding Five Problems

 

Hello I am seeking help with these five java problems. My code is all over the place and I do not know where I am going wrong. May you please code these problems with java and provide notes explaining what each each line is doing. The txt files are not provided however may you please still write the code as if they were provided.