Challenge: Improving Even or Odd Checker
Uppgift
Swipe to start coding
In one of the previous tasks, we created an "Even or Odd" checking program. The code for that program is given.
Make the code shorter by removing the second conditional statement and using an else
block instead.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 3. Kapitel 8