you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 11 months ago

I have learned from StackOverflow that we should always ask if this is homework. Otherwise, the solution appears fine.

  • source