Example #1
0
 static void whatFlavors(int[] cost, int money)
 {
     var(i, j) = IceCreamParlor.GetTwoFlavors(cost, money);
     Console.WriteLine($"{i+1} {j+1}");
 }
Example #2
0
 public void FindPairsTests(int[] costs, int money, int i, int j)
 {
     var(x, y) = IceCreamParlor.GetTwoFlavors(costs, money);
     Assert.Equal(i, x);
     Assert.Equal(j, y);
 }