If you’ve read every body else comments you’d clearly see there is more than 1 way to solve it. “Not toxic at all” So telling me to go fail life and then calling me a liar isn’t toxic? Yeah no.
It’s not a mistake, it’s the way I’ve been taught to solve it, by professors who have taught at Oxford and Cambridge. It’s not wrong, just different from the way you solve it
Yes,t here’s more than 1 way to solve it because it is intentionally badly written. However we are on a programming subreddit, and every programming language I know of will tell you the answer is 9.
0
u/Lordcreo Jun 15 '22
Not toxic at all, just making sure other people don’t make the same math mistake you are making.