خوب
این فقط در مورد 5 عدد پاسخگو هست(راه ابتدایی) :razz:
روش های پیشرفته تر و بهتر:
http://en.wikipedia.org/wiki/Sorting_algorithm
#pragma hdrstop
#pragma argsused
#include <tchar.h>
#include <stdio.h>
#include <iostream>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
int...