Question: Make sure to test code first. using System; namespace TestCircle { class Program { static void Main(string[] args) { Circle myCircle = new Circle(4.2); Console.WriteLine(my
Make sure to test code first.
using System;
namespace TestCircle
{
class Program
{
static void Main(string[] args)
{
Circle myCircle = new Circle(4.2);
Console.WriteLine("my circle has a radius of {0}", myCircle.getRadius());
Console.WriteLine("my circle has a circum of {0}", myCircle.getCircum());
// instantiate an object such as c2 using the default constructor
//set the radius to a a number
//output the radius, the area
}
}
}
Add the missing code where instructed in bold font. Programming language is c#
Step by Step Solution
3.36 Rating (159 Votes )
There are 3 Steps involved in it
The required code is given below Note To complete the code the Circle class is constructed using Sys... View full answer
Get step-by-step solutions from verified subject matter experts
