Even Or Odd CodeWars

PHOTO EMBED

Sun Jan 09 2022 14:21:05 GMT+0000 (UTC)

Saved by @jarodnbuus #c++

#include <string>
using namespace std; 
std::string even_or_odd(int number) 
{
  string EvenOrOdd;
  if (number %2 == 0){
  EvenOrOdd = "Even"; 
  }else{
  EvenOrOdd = "Odd"; 
  }
  return EvenOrOdd;
}
content_copyCOPY

https://www.codewars.com/kata/53da3dbb4a5168369a0000fe/train/cpp