编程基础-二,八,十,十六进制-错误题总结

错题

返回偶数

if(x % 2){
return x-1;
}
else
{
return x;
}

posted @ 2017-05-02 21:54  Glen-Z  阅读(162)  评论(0编辑  收藏  举报