Circle Console App

[code language=”csharp”] using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Circle
{
class Program
{
static void Main(string[] args)
{
Double Radius = 0; // Radius of a Circle
Double Diameter = 0; // Calculated Diameter
Double Circumference = 0; // Calculated Circumference
string Continue = "yes"; // Continue?

while (Continue != "no")
{
Console.WriteLine("Please enter the Radius of your circle in inches:");
Radius = Convert.ToDouble(Console.ReadLine());

// Calculations
Diameter = Radius * 2;
Circumference = 2 * Math.PI * Radius;

//Output
Console.WriteLine("The Diameter of the circle is " + Diameter);
Console.WriteLine("The Circumference of the circle is " + Circumference);
Console.WriteLine();

// Continue?
Console.WriteLine("Do you wish to Continue? (Yes/No)");
Continue = Console.ReadLine();
}

}
}
}
[/code]