Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
3
//Rextester.Program.Main is the entry point for your code. Don't change it. //Microsoft (R) Visual C# Compiler version 2.9.0.63208 (958f2354) using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { int[] iin = new int[]{0,4,0,7,1,5}; for(int i = iin.Length-1; i>=0; i--) { for(int j = 0; j<i; j++){ if(iin[j]>iin[j+1]) { int buf = iin[j]; iin[j]=iin[j+1]; iin[j+1]=buf;} }} for(int i = 0; i<iin.Length; i++) Console.Write(iin[i]); Console.ReadKey(); } }}
run
|
edit
|
history
|
help
0
function in event
compra de restaurante
C# interview question. Closure pitfalls.
actions and tasks
Hallo world
Huffman Algorithm
Binary search iterative approach
axasxasd
Numeric to graphical styling using String Extension method
code source