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.
Ask how old you are IF you are 70 or older, say “You are aged to perfection!” The selection comes in step 2. If you are aged 70 or over, one message is displayed.