Advertisement
Guest User

980715

a guest
Oct 18th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. double length = double.Parse(Console.ReadLine());
  2. double width = double.Parse(Console.ReadLine());
  3. double height = double.Parse(Console.ReadLine());
  4. double percent = double.Parse(Console.ReadLine());
  5. double volume = length * width * height;
  6. double liters = volume * 0.001;
  7. double otherFills = percent * 0.01;
  8. double litersNeeded = (liters * (1 - 0.17));
  9. Console.WriteLine(litersNeeded);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement