getLeastCost() public method

public getLeastCost ( int cnt, int baseCost, int seatCost ) : int
cnt int
baseCost int
seatCost int
return int
示例#1
0
 static void Main(string[] args)
 {
     TheShuttles x = new TheShuttles();
     int[] a = { 51, 1, 77, 14, 17, 10, 80 };
     Console.WriteLine(x.getLeastCost(a, 32, 40));
     Console.ReadLine();
 }
示例#2
0
        static void Main(string[] args)
        {
            TheShuttles x = new TheShuttles();

            int[] a = { 51, 1, 77, 14, 17, 10, 80 };
            Console.WriteLine(x.getLeastCost(a, 32, 40));
            Console.ReadLine();
        }