Hi! I'm new here.

I was just wondering if there's someone who could help me in solving this problem.

Given a sequence of n numbers, compute the running average of the sequence. For example, given the sequence 1 3 5 7 9 will produce the output:

1 1

3 2

5 3

7 4

9 5

here are my questions

I know I should be using a *while* statement here but my problem is how I would implement the running average.

Thanks.