C++

William L.

asked • 02/25/21

What should I be doing to finalize this code?

Trying to finalize this assignment, I had gotten help but I was only given hints regarding where I should change something from lines 24-29. I did some changes to count, r, and c in that area which helped to get some passing cases, but I could only get 1/2 of test cases correct. Not sure where to go from here.


code: https://pastebin.com/q64r7g0q


test cases: https://pastebin.com/gTGKzzYr


Here is also the pre-summary if anyone wants a look at it: https://pastebin.com/qQ9fv9Q2

1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.