标签:name pac ace 整数 clu return 判断 nbsp mes
#include <iostream> using namespace std; int main() { int n = 1; cout << "输入一个整数: "; cin >> n; if ( ( n & 1 ) == 0) cout << n << " 为偶数。"; else cout << n << " 为奇数。"; return 0; }
标签:name pac ace 整数 clu return 判断 nbsp mes
原文地址:https://www.cnblogs.com/rtyxxy/p/12367524.html