QZHY-HTX / Data-Structure

泉州海洋职业学院信息工程学院2023-2024学年第二学期数据结构课程仓库
MIT License
6 stars 9 forks source link

聂秀林2302580065 #33

Open 3114537959 opened 7 months ago

3114537959 commented 7 months ago

include

int main(){      int x,y,z;     int temp;     scanf("%d %d %d",&x,&y,&z);     if(x<y){         temp = x;         x = y;         y = temp;     }     if(x<z){         temp = x;         x = z;         z = temp;     }     if (y<z)     {          temp = y;         y = z;         z = temp;     }     printf("%d %d %d",x,y,z);     return 0; }