Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Task 001, Chapter 2.1
- using System;
- public class TrainingLab
- {
- static void Main()
- {
- double len = double.Parse(Console.ReadLine());
- double width = double.Parse(Console.ReadLine());
- int cols = ((int)(width * 100 - 100) / 70);
- int rows = ((int)(len * 100 / 120));
- int seats = cols * rows - 3;
- Console.WriteLine(seats);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment