Project: Even or Not

Create a function that:

  • Takes a number as input.

  • Returns true if it’s even, false otherwise

Project: Even or Not

Create a function that:

  • Takes a number as input.

  • Returns true if it’s even, false otherwise

#include <iostream>
using namespace std;

// Define your function here

int main() {
  // Your code goes here to call the function
  return 0;
}
Write a function with parameters and return in C++