2. (20%) Given an array \( A \) with \( n \) integers \( A[0], A[1], ..., A[n-1] \) and an integer k, write a C program to find the maximum \( k \) subsequence sum \( \sum_{i=j}^{j+k-1} A_i \), where \( 0 \le j \le n-k \), and analyze the program in the worst case. For example: Given \( A[0] = -1, A[1] = 9, A[2] = -3, A[3] = 8, A[4] = -1 \) and \( k=3 \), output the maximum \( k \) subsequence sum \( (9)+(-3)+(8) = 14 \). (If you have many programs, choose the program with less running time. If you cannot write the program in C, design a flowchart or provide an algorithm instead.)