文章目录 1.IsOdd函数 2.main函数 奇数:奇数(odd)指不能被2整除的整数 1.IsOdd函数 (1) int IsOdd(int _Data) { if (_Data % 2 == 1) { return 1;//返回1表示是奇数。 } return