Question: Hi. I'm working on this c++ code where I have to calculate average,variance, and deviation. It seems to work with whole numbers, but whenever I

Hi. I'm working on this c++ code where I have to calculate average,variance, and deviation. It seems to work with whole numbers, but whenever I try a decimal it does weird stuff. I'm curious how I can get decimals to work. Thanks.
9 #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
