Console.WriteLine("Please enter H ");
double H = double.Parse(Console.ReadLine());
Console.WriteLine("Please, enter R: ");
double R = double.Parse(Console.ReadLine());
Β
Console.WriteLine(2 * Math.PI * R * H);
Console.WriteLine(2 * Math.PI * R * H + 2 * Math.PI * Math.Pow(R,2));
Β
Console.WriteLine("2093 to BIN {0}.", Convert.ToString(2093, 2));
Console.WriteLine("2093 to OCT {0}.", Convert.ToString(2093, 8));
Console.WriteLine("2093 to HEX {0}.", Convert.ToString(2093, 16));
Β
double x1 = 2.3, x2 = 3.4, y1 = 3.2, y2 = 4.5;
Console.WriteLine(Math.Sqrt(Math.Pow(x1 - x2, 2) + Math.Pow(y1 - y2, 2)));
Comments
0 B
|π
/π
0 B
|π
/π