摘要: 代码 阅读全文
posted @ 2012-09-11 15:13 ClaireJY 阅读(578) 评论(0) 推荐(0) 编辑
摘要: #include "stdafx.h"#includeusing namespace std;void swap(int ,int );int _tmain(int argc, _TCHAR* argv[]){cout <<"输入三个整数:"<< endl;int num1, num2, num3;cin >> num1 >> num2 >> num3;if( num1 >= num2 )swap(num1 , num2);else if(num2 >= num3)swap(num2 阅读全文
posted @ 2012-09-11 15:10 ClaireJY 阅读(142) 评论(0) 推荐(0) 编辑