In this WSQ I had to create a program that ask for numbers and then show them as a list, the total, average and standard deviation of them.
So I used a for loop with a array to ask for the numbers, the array was the quantity of numbers I would like to use for that program, so I could modify it for whatever I want to.
Then, I created the functions Total, Average and Std. Dev., the Total function could be used for the Average and the Average could be used for the Standard Deviation.
When it runs looks like this:
As you can see, this is an “easy” program but you have to make it easy to write, using functions, loops and arrays.
TC101
WSQ10
WSQ 10 List of Numbers by josequirogablog is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.