Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void Main(string[] args)
- {
- int[] numbers = { 12, 2, 7, 24, 5 };
- int min = 99;
- for (int i = 0; i < numbers.Length; i++)
- {
- if (numbers[i] < min) min = numbers[i];
- }
- Console.WriteLine("Минимальное число: " + min);
- }
Advertisement
Add Comment
Please, Sign In to add comment