Thank you for your sincere gratitude and compliments @Romero, I really appreciate your respect and appreciation for my time.
I realise that offering suggestions for improvement for your existing code may have been more beneficial to your learning than rewriting the entire program, but nevertheless, I hope that you can benefit from studying my code, and of course, feel free to ask if you have any questions about the posted code.