double *part = new double [n]; 해서part[1], part[2] ... part[n]까지 값을 받을 때part[1] 부터 part[n] 까지 합을 구하려면 코드 어떻게 짜야되나여 ㅠㅠ
1부터 n까지 반복하면되겠네요
그러니까 어떻게 반복을...