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.
The Microsoft MakeCode platform is a free online blocks-based programming tool that's used to write the code that tells the micro:bit hardware what you want it to do. It’s very easy to use and allows ...