Hello. I can help you with this.
When do you need this by?
Ok. I'll have this shortly.
OK. I have posted the code at the link below:
Let me know if you need any help with it. if that answered your question, please don't forget to click the ACCEPT button.
using namespace std;
I copied it and put into dev-C++ it does not show error but window opens and it only says press any key to continue.