This algorithm would allow five numbers to be inputted and would work out the total. A count-controlled loop would be used because it is known, in advance, how many times the algorithm needs to loop.
I'm taking an "object-oriented programming" course which has basically turned into a C++ course. In order to familiarize ourselves with the algorithms provided by the stl, we aren't allowed to use any ...