Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Linq;
- public class Program
- {
- public static double[] FindMinMax(double[] values)
- {
- return new[] {values.Min(), values.Max()};
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement