I need to write a code with javascript which increase the given number and sum it with a random range numbers and finally displays it. This has to be saved, because the next day, this should increment current result, using the same "sum with random range of numbers".
for instance:
Given number: 135
Random range: 5 to 20
So:
Current day=135+random range, then keep it for next 24 hours.
Next day=Current day+random range, then keep it for next 24 hours....
but I don't know how to do it, would you please help me? I really appreciate it.