> 其他 >
求2个或3个正整数中的最大数,用带有默认参数的函数实现.
人气:120 ℃ 时间:2020-05-01 02:36:40
解答
#include
using namespace std;
int main( )
{int max(int a,int b,int c=0);
int a,b,c;
cin >> a >> b >> c;
cout
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版