Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- class Program
- {
- static void Main(string[] args)
- {
- string type = Console.ReadLine();
- int rows = int.Parse(Console.ReadLine());
- int columns = int.Parse(Console.ReadLine());
- switch (type)
- {
- case "Premiere":
- Console.WriteLine("{0:f2} leva", 12 * rows * columns);
- break;
- case "Normal":
- Console.WriteLine("{0:f2} leva", 7.5 * rows * columns);
- break;
- case "Discount":
- Console.WriteLine("{0:f2} leva", 5 * rows * columns);
- break;
- default:
- break;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement