Create a Windows form Application similar to the one given below; Change the text property of the
Fantastic news! We've Found the answer you've been seeking!
Question:
Create a Windows form Application similar to the one given below; Change the text property of the form to “Circle”.Create a separate class named “ComputeAreaCircumference”consisting of two functions float ComputeArea(float radius) & float ComputeCircumference(float radius).When the user enters the radius of the circle in the textbox and presses the compute button the functions are called which computes area and circumference of the circle ,and displays them in two labels.
Area of the Circle=Πr2
Circumference of a Circle: 2Πr
Related Book For
Posted Date: