using System;
class Circle
{
public static void Main()
{
double r;
double result;
Console.WriteLine("Enter Radius:");
r=Convert.ToDouble(Console.ReadLine());
result=(3.14*r*r);
Console.WriteLine(result);
}
}
class Circle
{
public static void Main()
{
double r;
double result;
Console.WriteLine("Enter Radius:");
r=Convert.ToDouble(Console.ReadLine());
result=(3.14*r*r);
Console.WriteLine(result);
}
}
0 comments:
Post a Comment