Web Analytics
API developement platform

Even Odd

Whether the given Number is Even or Odd

Try Live Demo

An even number is an integer that can be divided by 2 without leaving a remainder. In simpler words, when you divide an even number by 2, the result is always a whole number. Examples of even numbers include 2, 4, 6, 8, 10, and so on.

On the other hand, an odd number is any integer that cannot be divided by 2 without leaving a remainder. That means, when you divide an odd number by 2, you will get a non-integer result or a fraction. Examples of odd numbers include 1, 3, 5, 7, 9, and so on.

Input Parameters:
Name Type Description
n Integer Input Number
Output Parameters:
Name Type Description
strOutput String rints whether the given number is even or odd

Download the SDK

API developement services

Setup Syncloop Embedded in your application

Syncloop provides all libraries & dependencies to integration syncloop embedded in your existing application.

Setup SDK