Question: PROGRAMMING Using Visual stuido. C# Object-Oriented application. a) Write an object-oriented program that calculates the surface area and volume of a cylinder. b) Define Cylinder

PROGRAMMING Using Visual stuido. C#

Object-Oriented application.

a) Write an object-oriented program that calculates the surface area and volume of a cylinder.

b) Define Cylinder Class (Cylinder.cs)

Define properties

Radius

Height

Define 2 methods

calcSurfacearea() research the formula

calcVolume() research the formula

c) Place your codes in the Calculate button click method.

Define variables if needed

Instantiate your class / Constructor

Make calls to the object methods

Display outputs on read-only textboxes.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!