public static double Rese(double num) {
public static void Main()
double daytime = Convert.ToDouble(Console.ReadLine());
double evening = Convert.ToDouble(Console.ReadLine());
double weekend = Convert.ToDouble(Console.ReadLine());
double PlanA = (Rese(daytime-100)*0.25)+(0.15*evening)+(0.2*weekend);
double PlanB = (Rese(daytime-250)*0.45)+(0.35*evening)+(0.25*weekend);
Console.WriteLine("Plan A costs " + Convert.ToString(PlanA));
Console.WriteLine("Plan B costs " + Convert.ToString(PlanB));
Console.WriteLine(37.85<37.85);
Console.WriteLine("Plan A is cheapest.");
Console.WriteLine("Plan B is cheapest.");
Console.WriteLine(PlanA);
Console.WriteLine(PlanB);
Console.WriteLine("Plan A and B are the same price.");