Coding challenge

Five positive integers starting with $a$ have an average of $b$. Write some code that will find the average of 5 consecutive integers that start with $b$. (Ans: it'll be 4 plus whatever you chose for $a$) (Ref: ACM 2014 10A, #10.)

Type your code here:

Lua reference

See your results here:

Show a friend, family member, or teacher what you've done!

Here is a share link to your code: