
please wait
|
|
for (float i = 0;...)
does not need to be a float it is only a counting number. "size_t or int" will work fine. I use "size_t" because many functions on the rhs of < return a "size_t" which is another name for an unsigned int and the number of bytes for storage depends on the computer it is run on.float calculateSD
) should not be there. Either before main or after main. Second it is hard to tell where the function ends. It looks like it ends at line 110, but that line also looks like the end of main. Line 82 will leave the function, so if the rest of the code is part of the function it will never be reached.