Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
sortowanie ( jaka )? wybor? confirm it!
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { //Your code goes here Console.WriteLine("Hello, world!"); int [] a = new int [] {3,1,2,7,4,9}; for ( int i = 0; i < a.Length ; i++) { for ( int k = i+1 ; k < a.Length; k++) { int min = a[i]; if ( a[k] < a[i] ) { min = a[k]; a[k] = a[i]; a [i] = min; } } } foreach(var item in a) { Console.WriteLine(item.ToString()); } } } }
run
|
edit
|
history
|
help
0
base exterior
base interior 0.1
QuickSort
EFCXAXS
Welcome
max & min binary search tree
Main3-3
Interface With Ambiguity Problem
mnnjhjhjbhjb
switch it