不挂科搜题免费

问题:

【简答题】编程题: 请编写程序,实现对奇数和偶数的判断。 提示: 1) 定义一个int类型的变量x

答案:

#include void main() { int x = 5; if (x % 2 == 0) printf("%d为偶数