T1 - Programming Practical 6
Objective
Calculate the average and standard deviation of a set of floating point numbers.
There was nothing stated that the user was required to input the numbers. For speed I hard coded the values in. This also enabled me to check the results beforehand.
Code
Code
Syntax highlighting thanks to pastie.org
Calculate the average and standard deviation of a set of floating point numbers.
There was nothing stated that the user was required to input the numbers. For speed I hard coded the values in. This also enabled me to check the results beforehand.
Code
Code
Syntax highlighting thanks to pastie.org