I've been working on an assignment, and it didnt take very long, but there is one slight error thats getting me completely frustrated...I want to use a double or float for 2 of the variables, so that it doesnt truncate when it calculates the average and standard deviation of a set of numbers, but average always comes out as 0 when its a double/float, and will come out just fine when its an int (except for the truncation)....does anyone see anything wrong with my code, and any help would be appreciated

Project Folder