using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Areapar
{
class Program
{
static void Main(string[] args)
{
float r, p, area;
Console.WriteLine("Enter Radius");
r = Convert.ToInt32(Console.ReadLine());
area = 3.14f *r *r ;
Console.WriteLine("area" + area);
p = 2 * 3.14f * r;
Console.WriteLine("para" + p);
Console.ReadLine();
}
}
}
No comments:
Post a Comment