Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

yes, thanks a lot for this. it took me a day to run this

0 votes
asked Mar 15, 2018 by anonymous

1 Answer

0 votes
answered Jul 14, 2020 by xDELLx (6,200 points)

https://onlinegdb.com/B1vyIM_Kz

is this want you wanted to do?

Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...