📅  最后修改于: 2022-03-11 15:04:43.880000             🧑  作者: Mango
#include void main(){int value, rem;printf("Enter an int ");scanf("%d", &value);rem = value % 2;if (rem == 0)printf("%d is an even int\n", value);elseprintf("%d is an odd int\n", value);}