Challenge
Given a the ID for a PPCG user who has existed for at least a month, output the average amount of reputation they gain per month. You can do this by dividing their reputation by the time since their account was created (which you can find on the profile). This should be returned floored; that is, truncate all of the decimals. (We don't care about the small stuff).
Input
A single integer, which is the user's ID
Output
A single integer, representing the floored rep change per month.
Test Cases
input -> output
42649 -> 127 (me)
12012 -> 3475 (Dennis)
8478 -> 3015 (Martin Ender)
(rep/daysSinceAccountCreate)*30
? You need to give us a constant for what a month is. \$\endgroup\$1 year, 9 months
. That's what I mean. \$\endgroup\$