题目内容
阅读程序写结果:#include int main(){float x=15.3,y;switch((int)x/10){ case 0: y=1.0; printf("y=%f\n",y);break;case 1: y=2*x+1; printf("y=%f\n",y);break;case 2: y=3*x*x+2; printf("y=%f\n",y);break;default:printf("No definition.\n");}return 0;}输出:_____________
查看答案
搜索结果不匹配?点我反馈