This program computes the sample autocorrelation coefficient ($r_k$) for any specified lag 'k'.
How to use:
Store your time series data in list L1.
Run the program.Enter the desired lag (K) when prompted.
The program will display the autocorrelation $r_k$, the total number of observations (N), and the mean of the series.