INF205/lab_1/1b-2.cpp

12 lines
137 B
C++
Raw Normal View History

2024-02-24 10:37:06 +00:00
#include "1b.h"
bool is_even(int num)
{
if (num%2 == 0)
{
return true;
}
else
{
return false;
}
}