Public feed
#381553
// Proggy to determine if the entered number is odd or even// Il'z own productions#include <iostream>using std::cout;using std::cin;using std::endl; int main(){ int num; int mod; cout << "Please enter a number "; cin >> num; mod = num % 2; if ( mod == 0 ) cout << "This number is even\n"; else cout << "This number is odd\n"; return 0;}