⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 81.c

📁 C语言的实验例子,整本书籍的防真实验,有助于初学者的学习.
💻 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 + -