I have used array instead of vectors but my code is not running
sorry for the delayed response
there were a llot of issues with the code
i have updated the code a lot and is running fine now
i recommend u learn how to use stl ( vector)
difficult to use array when size is unknown
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.