Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int volume = int.Parse(Console.ReadLine())
- * int.Parse(Console.ReadLine())
- * int.Parse(Console.ReadLine());
- double volumeInLiters = volume * 0.001;
- double occupiedSpace = double.Parse(Console.ReadLine())/100;
- double requiredLiters = volumeInLiters - volumeInLiters * occupiedSpace;
- Console.WriteLine(requiredLiters);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement