📄 81.c
字号:
#include "stdio.h"
void main()
{
int a[3],*p=a;
int i,temp;
printf("please enter three number:");
for(i=0;i<3;i++,p++)
{ scanf("%d",p);
}
p--;
if (*p<*(p-2))
{temp=*p;*p=*(p-2);*(p-2)=temp;}
if(*p<*(p-1))
{temp=*p;*p=*(p-1);*(p-1)=temp;}
for (i=2;i>=0;i--,p--)
printf("%d\n",*p);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -