Hi there,i'm trying to read array & it's size from txt file(the size in the first row ,the numbers of the array in the second one) for calculating the average & deviasion of it put it's calculating wrong,anybody can help me?!..
The problem with arr_average is that you have placed the return statement inside the loop.
The problem with the arr_standard_deviation is that you're dividing 1 and size which are two integers. Dividing two integers will do integer division giving you an integer quotient with the fractional part missing.