SHARE
TWEET

Untitled

a guest Jan 24th, 2020 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System;
  2.                    
  3. public class Program
  4. {
  5.     public static void Main()
  6.     {
  7.         int num = int.Parse(Console.ReadLine());
  8.         string biggesrKeg = string.Empty;
  9.         double maxVolume = double.MinValue;
  10.        
  11.         for (int i = 0; i < num; i++)
  12.         {
  13.             string model = Console.ReadLine();
  14.             double radius = double.Parse(Console.ReadLine());
  15.             int height = int.Parse(Console.ReadLine());
  16.            
  17.             double volume = Math.PI * radius ^ 2 * height;
  18.            
  19.             if (volume > maxVolume)
  20.             {
  21.                
  22.             }
  23.         }
  24.                
  25.        
  26.     }
  27. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top