hey everyone, im a beginner in c++. our professor gave a program and our assignment is to make an algorithm for this program. comments must also be inserted to describe each loops and functions. but i just dont get the program. i seriously need some help. thanks.
You want to know what this program is doing. Is that your question? If so, If I were you, I would load this up into Codeblocks or Visual studio and set a break point at the beginning of the program and just click next instruction or next line through out the entire program, and watch what all your variables are doing and watch your output in the terminal window.