Even Odd in Every Language

Published on 01 November 2018 (Updated: 09 January 2019)

Even Odd in Every Language

In this article, we’ll tackle the even/odd project, its requirements, and how to test each solution.

Description

An even number is an integer which is “evenly divisible” by two. This means that if the integer is divided by 2, it yields no remainder.

An odd number is an integer which is not evenly divisible by two. This means that if the integer is divided by 2, it yields a remainder of 1.

Requirements

Create a file called Even Odd using the naming convention appropriate for your language of choice.

Write a sample program which accepts an integer on the command line and outputs if the integer is Even or Odd.

Testing

Verify that the actual output matches the expected output. See the requirements section for an example of the expected output.

Articles

Currently, there are no articles. If you’d like to begin contributing, head over to the repo to get started.

Further Reading