marks.cpp calculate mean and sd