Advertisement
Guest User

Untitled

a guest
Apr 20th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace ZalaZaTanci
  8. {
  9. class Program
  10. {
  11. static void Main(string[] args)
  12. {
  13. double hallLength = double.Parse(Console.ReadLine());
  14. double hallWidth = double.Parse(Console.ReadLine());
  15. double wardrobeSide = double.Parse(Console.ReadLine());
  16.  
  17. double hallArea = (hallLength * 100) * (hallWidth * 100);
  18. double wardrobeArea = (wardrobeSide * 100) * (wardrobeSide * 100);
  19. double benchArea = hallArea / 10;
  20.  
  21. double freeSpace = hallArea - wardrobeArea - benchArea;
  22. double dancersCount = freeSpace / (40 * 7000);
  23. }
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement