Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace ZalaZaTanci
- {
- class Program
- {
- static void Main(string[] args)
- {
- double hallLength = double.Parse(Console.ReadLine());
- double hallWidth = double.Parse(Console.ReadLine());
- double wardrobeSide = double.Parse(Console.ReadLine());
- double hallArea = (hallLength * 100) * (hallWidth * 100);
- double wardrobeArea = (wardrobeSide * 100) * (wardrobeSide * 100);
- double benchArea = hallArea / 10;
- double freeSpace = hallArea - wardrobeArea - benchArea;
- double dancersCount = freeSpace / (40 * 7000);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement