Halting problem with Odd even problem

  1. it's a ligature, you can set it so that != is displayed as that symbol in your editor (also applies for other symbols like ->), no text actually changes it just makes it look nicer

  2. What num is negative? You should have have a condition to increment by 2 if negative. Then it could fluctuate between -1 and 1.

  3. The algorithm has a small flaw but that’s not the worst part. Ligatures… I would rather use comic sans than those devil inventions.

  4. If its odd or <0 it will never terminate. I guess if its <0 and even it will eventually terminate when it overflows and comes back around.

Leave a Reply

Your email address will not be published. Required fields are marked *

Author: admin