// PSEUDOCODE PROBLEM
// What will the application do?
// 1. The application prompts the user to enter a radius; the user may enter a number with decimals (double).
// The application displays an error if the user enters invalid data and asks the user again for a radius.
// When the user enters valid data, the application creates an instance of a Circle and then uses its methods to display the Diameter, Circumference and Area.
// The application asks the user if the circle should grow.
// If the user says yes, call the grow method and then loop back to the method calls for the formulas.
// The grow method will adjust radius to double its value.
// If the user says no, the application displays a “goodbye” message that also displays the radius of the circle.
//
// Build Specifications:
// 1. Create a class named Circle to store the data about this circle. This class should contain these constructors and methods:
// 1. Properties
// 1. private double radius
// 2. Constructor
// 1. public Circle(double radius)
// 3. Methods
// 1. public double CalculateDiameter()
// 2. public double CalculateCircumference()
// 3. public double CalculateArea()
// 4. public void Grow()
// 5. public double GetRadius()
// 2. For the value of pi, use the PI constant of the System.Math class.
// 3. Get the user input, create a Circle object, and display the diameter, circumference and area.
//________________________________________________________________________________________________________________________________________________
using System;
using System.Collections.Generic;
class Program
{
static void Main()
Console.WriteLine("Enter A Radius")
double number = double.Parse(Console.ReadLine());
// 2. The application displays an error if the user enters invalid data and asks the user again for a radius.
if(typeof number == "number")
Console.WriteLine("user entered invalid data");
}
else
Console