Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace ClassRoom
- {
- class ClassRoom
- {
- static void Main(string[] args)
- {
- double h = double.Parse(Console.ReadLine());
- double w = double.Parse(Console.ReadLine());
- double roomRows = Math.Round(h/1.2);
- double deskArea = w - 1;
- double deskCount = Math.Round(deskArea / 0.7);
- Console.WriteLine(roomRows*deskCount-3);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement