王老师:19139051760(拨打)复制微信 题目 更新时间:2023/4/3 下面有一处错误,请给出修改意见。#include class f{ private:float x,y; public:f(float a,float b){x=a;y=b;} float max(){return(x<>< strong=""> } ; main( ){ f a(1.5,3.8); cout<<><> } 答案 登录 注册 应改为float max(){return(x>y)?x:y;} 出自:联大 >> 安阳师范学院-计算机应用技术-C++程序设计 安阳师范学院继续教育学院