求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
推荐
猜你喜欢
- 英语 ( )is across from the supermarket
- best friend of my dreams often being a teacher 这句话不是话,是n个单词,请组成一句话,谢
- 菱形ABCD的周长为2p,对角线AB,BD交于O,AC+BD=q,求菱形ABCD的面积
- 陶瓷茶盘英语怎么说
- 如图,利用一面墙(墙的长度不限),用20m长的篱笆,怎样围成一个面积为50m2的长方形场地?
- 勾股定理题目:在△ABC中,∠C=90°,a:b=3:4,c=10,则a=___,b=___
- 5+三分之一x=13
- 用代人消元法解方程组:x-y=3,3x-8y=14