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());
- double workplace = 70;
- double workplace2 = 120;
- double corridor = 100;
- double numWidth = width * 100 - corridor;
- double numLength = length * 100;
- double sumWidth = numWidth / workplace;
- double sumLength = numLength / workplace2;
- double result = sumWidth * sumLength - 3;
- Console.WriteLine(result);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement