Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- public class Program
- {
- public static void Main()
- {
- int num = int.Parse(Console.ReadLine());
- string biggesrKeg = string.Empty;
- double maxVolume = double.MinValue;
- for (int i = 0; i < num; i++)
- {
- string model = Console.ReadLine();
- double radius = double.Parse(Console.ReadLine());
- int height = int.Parse(Console.ReadLine());
- double volume = Math.PI * radius ^ 2 * height;
- if (volume > maxVolume)
- {
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement