Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- double length = double.Parse(Console.ReadLine());
- double width = double.Parse(Console.ReadLine());
- double height = double.Parse(Console.ReadLine());
- double percent = double.Parse(Console.ReadLine());
- double volume = length * width * height;
- double liters = volume * 0.001;
- double otherFills = percent * 0.01;
- double litersNeeded = (liters * (1 - 0.17));
- Console.WriteLine(litersNeeded);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement