📄 mean.c
字号:
/*# proc: compute_mean - takes a list of integers and computes the mean.# proc:*/float compute_mean(ls, end)int *ls, end;{ int i; float sum = 0.0; for(i = 0; i < end; i++) sum += (float)ls[i]; sum = sum/(float)end; return(sum);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -