This week's Lenny Conundrum:
Answer: 33,696
After winning 20,000 NP on the Wheel of Excitement one day, he decided to go on a little shopping spree.
First, he visited Mystery Island, where he spent 15% of his winnings on delicious tropical food. After that, he takes a chance on the Tombola and wins, which adds 15% of his NP to his total. Then he stops at the trading post strikes a deal for some Jelly Sponge Cake at 8% of his NP.
And, being the smart bank manager that he is, he finally puts his Neopoints into a new bank account so he can save up and earn some interest.
After 10 days of collecting interest every day, at the maximum account level he can achieve each day, how many Neopoints will the bank manager have? Remember, bank interest is rounded up!
Code:
Starts 20,000 : Total 20,000
Spends 15% : Total 17,000
Adds 15% to total : Total 19,550
Spends 8% : Total 17,986
Day 1 Opens Super Gold Plus (7.0%) : Total 17,986
Day 2 Collect Interest (7.0%) : Total 19,246
Day 3 Collect Interest (7.0%) : Total 20,594
Day 4 Collect Interest (7.0%) : Total 22,036
Day 5 Collect Interest (7.0%) : Total 23,579
Day 6 Collect Interest (7.0%) : Total 25,230
Day 6 Upgrades account : Total 25,230
Day 7 Collect Interest (7.5%) : Total 27,123
Day 8 Collect Interest (7.5%) : Total 29,158
Day 9 Collect Interest (7.5%) : Total 31,345
Day 10 Collect Interest (7.5%) : Total 33,696
Answer: 33,696