题目内容
程序改错题-函数下面程序求表达式的值,编译有错误,请找错和改错。#include #include int fun(int x, int y);int main(){ int a,b; float f;scanf(“%d,%d”,&a,&b);if(a*b>0){fun(a,b);printf("The result is:%d\n", f)}else printf(“error!”);}fun(x, y){ float result;result = sqrt(a*b);return;}
查看答案
搜索结果不匹配?点我反馈