Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- double length = double.Parse(Console.ReadLine());
- double width = double.Parse(Console.ReadLine());
- int workPlace = 70;
- int workPlace2 = 120;
- int corridor = 100;
- int numWidth = (int)width * 100;
- int numLength = (int)length * 100;
- int sumWidth = (numWidth - corridor ) / workPlace;
- int sumLength = numLength / workPlace2;
- int result = sumWidth * sumLength - 3;
- Console.WriteLine(result);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement