Hi,

I need some help with average calculation. I have a homework where i must find average value, but this one is quite tricky, atleast for me. usualy it goes like that 1+2 average is 1,5.

I have to do it like this:

If i input 15 then program should understand that as 1+5 and average of that is 3.

I have failed to find/figure this one out.

Thank you in advance.