News
In order to familiarize ourselves with the algorithms provided by the stl, we aren't allowed to use any explicit loop constructs (while, for, or even recursive loops) in our current assignment ...
You have to understand how the pieces work together. It is easy to learn the mechanics of a for loop or a Java interface. But what makes programs work are algorithms.
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 ...
This algorithm would keep iterating until the answer at the end of the loop is ‘No’, ie it will continue to iterate WHILE there are more numbers to add. A condition-controlled loop would be ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results