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.
making init methods for new classes with tons of variables is tedious. This script lets you type the all the variable names you want once and spits out a string in the following format for you to copy ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results