Advertisement
Guest User

Untitled

a guest
Mar 20th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. using System;
  2.  
  3. namespace Uchebna_Zala
  4. {
  5. class Program
  6. {
  7. static void Main(string[] args)
  8. {
  9. double lenght = double.Parse(Console.ReadLine());
  10. double width = double.Parse(Console.ReadLine());
  11. double cols = Math.Truncate(((width * 100) - 100) / 70);
  12. double rows = Math.Truncate((lenght * 100) / 120);
  13. double seats = cols * rows - 3;
  14. Console.WriteLine(Math.Truncate(seats));
  15. }
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement