#include float summation(float *x,int n); int main() { const int n=10; float x[n]; int i; for (i=0;i