CodeKata

CodeKata LeaderboardLeaderboard

1. Odd or Even Sum

Geekoin30
Easy

Problem Statement:
Given 2 numbers N and M add both the numbers and check whether the sum is odd or even.

Input Description:
The input consists of two integers, N and M.

Output Description:
The output is 'odd' if the sum of N and M is odd, and 'even' if the sum is even.

Sample Input:
9 2

Sample Output:
odd

Accepted 23k
Submissions 31k
Acceptance Rate 74.73%
Topics
basicsmathematics

Code Editor

You need to   or  to run or submit the code