A a%2不能做赋值号=左值B sqrt() 函数原型是:double sqrt (double x);不能使用 double类型 % int类型D *a a非地址
A 应该是a%2==1B 应该是sqrt((double)a)%2D应该是b*=a