Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace Uchebna_Zala
- {
- class Program
- {
- static void Main(string[] args)
- {
- double lenght = double.Parse(Console.ReadLine());
- double width = double.Parse(Console.ReadLine());
- double cols = Math.Truncate(((width * 100) - 100) / 70);
- double rows = Math.Truncate((lenght * 100) / 120);
- double seats = cols * rows - 3;
- Console.WriteLine(Math.Truncate(seats));
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement