#include <iostream>using namespace stdint Max1 ( int a, int b) { if (a > b) return a else return b}double Max1 ( double a, double b) { if (a > b) return a else return b}int Max1 ( int a, int b, int c) { if (a >= b && a >= c) return a else if (b >= a && b >= c) return b else return c }int main() { int a, b ,c double da, db cout<<“请输入三个整数:” cin>>a>>b>>c cout<<“两个整数最大值为:”<<Max1(a, b)<<endl cout<<“三个整数最大值为:”<<Max1(a, b, c)<<endl cout<<“请输入两个浮点数:” cin>>da>>db cout <<“两个浮点数最大值为:”<< Max1(da,db)<<endl return 0}