河南成教 / 面向对象程序设计
22[分析题]
#include enum race{Black,White,Yellow}; void main() { race ra;
ra=Black;cout<
ra=White;cout<
ra=Yellow;cout<
cout<
}
22[分析题]
#include enum race{Black,White,Yellow}; void main() { race ra;
ra=Black;cout<
ra=White;cout<
ra=Yellow;cout<
cout<
}
参考答案:
佳题速递: