Hello! Thank you for the fortran code earlier! But it’s not really what I am looking for… We haven’t learn the recursive thing in class yet… So I am looking for a “beginner” way to solve the problem. Is it possible that you could revise the answer? Or let me know what I did wrong in the program, I attach a screenshot of the coding I have so far and the error message I received 🙂 Thank you!
- Attachment 1
- Attachment 2