Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- namespace MinNumber
- {
- class MainClass
- {
- public static void Main()
- {
- List<int> numbers = Console.ReadLine().Split().Select(int.Parse).ToList();
- int minNumber = numbers.Min();
- Console.WriteLine(minNumber);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement