I don’t know if this is too trivial too anyone, but i am a complete beginner with c++ and im not quite familiar with a lot of functions and how i would approach the above-mentioned problem. i have attempted several of times and still have not figured out just yet. I hope someone could help me with this.