📄 threenum.cpp
字号:
#include <iostream.h>
main()
{
int x,y,z;
int temp=-1;
cout<<"Please input three number"<<endl;
cin>>x>>y>>z;
if (x<y)
{
temp=x;
x=y;
y=temp;
}
if(x<z)
{
temp=z;
z=x;
x=temp;
}
if (y<z)
{
temp=y;
y=z;
z=temp;
}
cout<<x<<y<<z;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -