编辑代码

#include <iostream>
using namespace std;
int main() {
 /*
 int a,b,c;
 a = 12;
 b=22;
 c = 33;
 float f=3.14;
 int num = a + b;
 cout << a << endl;
 cout << b <<endl;
 cout << c << endl;
cout << num << endl;
cout << f << endl;

string s = R"(床前明月光,
疑似地上霜。
举着户明月,
低头思故乡。
)";
cout << s << endl;
 return 0;
 */
 cout << max(23,2) <<endl;
 cout << sum(23,33) << endl;
}
int max(int a,int b){
    if (a > b){
        return a;
    }
    return b;
}
int sum (int a,int b=20){
    return a + b;
}