王老师:19139051760(拨打)复制微信 题目 更新时间:2023/4/3 #include template class f{private:T x,y;public:void f1(T a,T b){x=a;y=b;}T max( ){retum(x>y)?x:y;}};void main( ){f a;a.f1(1.5,3.8); ’cout<<><><>< p="">} 答案 登录 注册 cout< 出自:联大 >> 安阳师范学院-计算机应用技术-C++程序设计 安阳师范学院继续教育学院