public getLeastCost ( int cnt, int baseCost, int seatCost ) : int | ||
cnt | int | |
baseCost | int | |
seatCost | int | |
리턴 | int |
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(); }
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(); }