Advertisement
Emilyyy

Untitled

Oct 20th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. using System;
  2.  
  3. namespace Zala
  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 zala = L * 100 * W * 100;
  14. double garderob = A * 100 * A * 100;
  15. double pejka = zala / 10;
  16. double tanci = zala - garderob - pejka;
  17. double tanciori = tanci / (40 + 7000);
  18.  
  19. Console.WriteLine(Math.Floor(tanciori));
  20. }
  21. }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement