I'm writing a program that reads in values from an input file stores them into an array and computes the mean and standard deviation. The mean and standard deviation should be floating point with 2 decimal places. however when I compile using gcc -g -Wall, I get nan error in my output. Ive posted the code. could someone help me get the correct output. The program functions when I compile with gcc but not gcc -g - Wall.