Hi Mini_me
This sounds like a bit of home work to me ;-)
You have described what the program needs to do perfectly. That is often the hardest part.
From there you just need to turn it into code.
I think the best thing you could do, would be to try and write the code and test it.
If it still does not work come back, with the code, for some help.
The best way to really learn anything is to try, make mistakes and learn from those mistakes. This way you not only learn you also gain a deeper understanding of what you are supposed to be learning.
If someone here where to write the program for you, you would learn nothing, you would just have a bunch of working code that you may not even understand.
Kind Regards.
|