Hint for code getting too complex

29 Dec 2022 - 12:00 | Version 1 |
  1. "Write" down the four different output statements you would need to make.
  2. Add a comment to each statement that explains when that should be outputted (in English)
  3. These conditions can be mutually exclusive. That will make your code simpler.
  4. Be extremely careful if you try to use arithmetic to help. It can make the code much more complex than it needs to be. I highly recommend that you DON'T do it. It does not make your code better.
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback
This website is using cookies. More info. That's Fine