Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
FindSmallest
//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 FindSmallest(int [] arr) { int min = arr[0]; for(int i = 1 ;i<arr.Length;i++) { if (arr[i]<min) { min = arr[i]; } } Console.WriteLine(min); } public static void Main(string[] args) { int [] arr = { 4,77,8,23,2,-89,5,8,3}; FindSmallest(arr); //Console.WriteLine("Hello, world!"); } } }
run
|
edit
|
history
|
help
0
sdfgtfgb
SortedDictionary<TKey, TValue> クラス
Q: Why this calling base class virsion?
[REDACTED] database V0.1
tipos de bucle for, while, do while
saira_pr1.c
Mintra url string replace
Free Tiktok Fans Generator
Simple Selection Sort
Swap 2