Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
#include
using namespace std; int main() { int myNum = 5; if (myNum % 2 == 0) { cout << myNum << " is even.\n"; } else { cout << myNum << " is odd.\n"; } return 0; }
5 is odd.