C语言数组怎样求和,先获取数组长度,然后用for循环,从数组中获取值进行累加求和。#include#includeint main(){int nint valint * aint sun = 0, iprintf("请输入数组的长2023-04-18html-css270