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