Здравейте! Може ли някой да ми обясни как точно се решава тази задача?
static void Main(string[] args)
{
string type = Console.ReadLine().ToLower();
int rows = int.Parse(Console.ReadLine());
int columns = int.Parse(Console.ReadLine());
int full = rows * columns;
double income =
switch (type)
{
case "premiere":
income = full * 12.00;
break;
case "normal":
income = full * 7.50;
break;
case "discount":
income = full * 5.00;
break;
}
Console.WriteLine("leva");
}
}
}