public static void Main()
Console.WriteLine("Hello World");
int[] prices = new int[]{7,1,5,3,6,4};
Console.WriteLine(findProfit(prices));
public static int findProfit(int[] prices){
for(int i = 0; i < prices.Length - 1; i++)
for(int j = i; j < prices.Length; j++)
if(second - first > profit){