Advertisement
Spocoman

Dance Hall

Nov 28th, 2021
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.46 KB | None | 0 0
  1. using System;
  2.  
  3. namespace DanceHall
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             double l = double.Parse(Console.ReadLine());
  10.             double w = double.Parse(Console.ReadLine());
  11.             double a = double.Parse(Console.ReadLine());
  12.            
  13.             double space = l * w - (l * w / 10) - a * a;
  14.             int dancers = (int)(space / 0.7040);
  15.             Console.WriteLine(dancers);
  16.         }
  17.     }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement