博客
关于我
C语言 - 从大到小排列三个数
阅读量:343 次
发布时间:2019-03-04

本文共 324 字,大约阅读时间需要 1 分钟。

#define _CRT_SECURE_NO_WARNINGS#include 
int main() { int a, b, c; // ????? a = b = c = 0; // ?????? if (a < b) { a = b; b = a; } if (a < c) { a = c; c = a; } if (b < c) { b = c; c = b; } // ???? printf("%d %d %d\n", a, b, c); return 0;}

转载地址:http://xqbe.baihongyu.com/

你可能感兴趣的文章
poj 3422 Kaka's Matrix Travels (费用流 + 拆点)
查看>>
poj 3539 Elevator——同余类bfs
查看>>
poj 3628 Bookshelf 2
查看>>
poj1936 假期计划第一水
查看>>
poj1958-汉诺四塔问题(三种方法)
查看>>
printf()函数
查看>>
Project Euler 48 Self powers( 大数求余 )
查看>>
ProjectEuler 2
查看>>
projection介绍及EPSG:4326和EPSG:3857的投射转换
查看>>
project打开文件时,显示无法识别此文件格式?
查看>>
Prometheus + Grafana on Kubernetes部署
查看>>
ProtoBuf在使用protoc进行编译时提示: Required fields are not allowed in proto3
查看>>
Protobuf学习 - 入门
查看>>
protobuf对象与JSON相互转换
查看>>
ProtoBuf的介绍以及在Java中使用protobuf将对象进行序列化与反序列化
查看>>
protocol学习笔记001---RPC和HTTP协议之间的区别_与各自优势
查看>>
protostuff简单应用
查看>>
Proxy源代码分析--谈谈如何学习linux网络编程
查看>>
pr录制自己声音杂音很重
查看>>
ps ww
查看>>