#include <iostream>
#include <stdlib.h>
using namespace std;
namespace myNum
{
int x = 105 ;
}
int main()
{
bool isOdd;
int isFlag = false;
if(myNum::x % 2 == 0)
{isOdd=false;
}
else
{
isOdd=true;
}
if(true)
{
cout<<"变量X是奇数"<<endl;
}
else
{
cout<<"变量X是偶数"<<endl;
}
system("pause");
return 0;
}
Darcrand
相关分类