– I did this one with arrays because they are easier for me, I searched first how to use arrays and that was it. The only disadvantage is that you have to determine the number of values for the user to introduce. It may seem larger to code but it is easier to understand.

Here’s my code in github https://github.com/ricardonewton/TC101/blob/master/lists

 

CC BY 4.0 #WSQ10 – Lists by Ricardo Newton is licensed under a Creative Commons Attribution 4.0 International License.