Your functions should output the results using theconsole.WriteLine() function.
USING C#
EvenOdd
Write a recursive function that determines if a number is evenor odd. Your function should take in one integer input and returnif it is odd or even. You can assume that the correct type will bepassed to the function. You must use recursion. Do NOT usethe Modulus (%) operator.
EvenOdd(5);
Odd
EvenOdd(10);
Even
EvenOdd(255);
Odd
EvenOdd(1250);
Even
EvenOdd(0);
Even
Expert Answer
An answer will be send to you shortly. . . . .