I’m working on a c++ exercise and need guidance to help me understand better.Link to program: (just copy and paste it into your own software to fix)https://onlinegdb.com/_1aGqAUjvI have completed the entire program but for some reason I am getting completely random 0s in my output and want help removing them.
I have included a screenshot with the unnecessary zeros highlighted. I also included the actual assignment prompt in case you wanted to see.
Requirements: Keep program as is. Just remove what is outputting the extra zeros.