📄
字号:
#include<iostream.h>
int max(int a, int b, int c)
{
int t;
t=a;
if(b>t)t=b;
if(c>t)t=c;
return t;
}
void main()
{
int x,y,z;
cout<<"please input x y z:"<<endl;
cin>>x>>y>>z;
int m=max(x,y,z);
cout<<"the max is: "<<m<<endl;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -