Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace dwdwdwdwDD
- {
- class Program
- {
- static void Main(string[] args)
- {
- var typeProjection = Console.ReadLine().ToLower();
- var rools = int.Parse(Console.ReadLine());
- var colons = int.Parse(Console.ReadLine());
- var allSeats = rools * colons;
- switch (typeProjection)
- {
- case "premiere" : Console.WriteLine("{0:f2}",(allSeats * 12.00)); break;
- case "normal": Console.WriteLine("{0:f2}",(allSeats * 7.50)); break;
- case "discount": Console.WriteLine("{0:f2}",(allSeats * 5.00)); break;
- }
- Console.WriteLine("leva");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment