SHARE
TWEET

Untitled

desislavg Apr 19th, 2019 103 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System;
  2.  
  3. namespace ConsoleApp8
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             double lengthSide = 120;
  10.             double widthSide = 70;
  11.            
  12.             double length = double.Parse(Console.ReadLine());
  13.             double width = double.Parse(Console.ReadLine());
  14.            
  15.             double areaLengtWorkplace = Math.Round((length* 100)/ lengthSide);
  16.             double areaWidthWorkplace = Math.Round((width *100 -100) / widthSide);
  17.             double workplaceCount = areaLengtWorkplace * areaWidthWorkplace -3;
  18.  
  19.             Console.WriteLine(workplaceCount);
  20.         }
  21.     }
  22. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top