It doesn't matter that it's not correct, the sad truth is that if you get that problem and write a loop and some math operators and update a variable for each run - you're in the top 10% of applicants!
There's a mindboggling amount of people applying for programming jobs who can't even do that!
There's a mindboggling amount of people applying for programming jobs who can't even do that!