首页 练字文章 sei语言

sei语言

2022-06-19 14:39  浏览数:418  来源:小键人4635287    

#include <iostream>
using namespace std;
int main( )
{
cout<<"This is a C++ program.";
return 0;
}
#include <iostream>
using namespace std;
int main( )
{
int a, b, sum;
cin>>a>>b;
sum=a+b;
cout<<"a+b="<<sum<<endl;
return 0;
}
#include <iostream>
using namespace std;
int max(int x,int y)
{
int z;
if(x>y)
z=x;
else z=y;
return(z);
}
int main( )
{
int a,b,m;
cin>>a>>b;
m=max(a,b);
cout<<"max="<<m<<'\n';
return 0;
}
#include <iostream>
using namespace std;
int main( )
{
int max(int x,int y);
int a,b,c;
cin>>a>>b;
c=max(a,b);
cout<<"max="<<c<<endl;
return 0;
}
int max(int x,int y)
{
int z;
if(x>y) z=x;
else z=y;
return(z);
}



声明:以上文章均为用户自行添加,仅供打字交流使用,不代表本站观点,本站不承担任何法律责任,特此声明!如果有侵犯到您的权利,请及时联系我们删除。

字符:    改为:
去打字就可以设置个性皮肤啦!(O ^ ~ ^ O)