Digit Sum Even or Odd

Given a number, find out if the sum of the digits is even or odd.

Unsolved

Instructions

You will be given an integer and your job is to determine the sum made up by each individual digit. Once you have the sum, determine if the sum is even or odd and then print out either "even" or "odd".

Inputs

value1
An integer

Sample Test Cases

Short number
value1 31
output even
Long number
value1 662638
output odd

Test Results

Login/Register

At the moment only Discord login is supported.

Login with Discord