一、题目描述
二、代码
#include <iostream>
using namespace std;
double bijiao(double ca,double cb,double cc)
{
double* t = &ca;
if(*t < cb) t=&cb;
if(*t < cc) t=&cc;
return *t;
}
int main()
{
double a,b,c;
cin >> a >> b >> c;
cout << bijiao(a,b,c);
return 0;
}