Question: Please Help In C# ! Thankyou In Advance Assignment 5 Create a class named Rectangle that meets the following requirements: The class should be initialized

Please Help In C# ! Thankyou In Advance  Please Help In C# ! Thankyou In Advance Assignment 5 Create

Assignment 5 Create a class named Rectangle that meets the following requirements: The class should be initialized with a containing the following information length width height The class should have properties (get/set accessors) for any instance variables (class level variables) Provide Methods for calculating the area (area-2ab+2bctac) and the volume (volume abe), also a method to display your results. Allow the user to enter 5 new values, display the new results but at the same time assign those results to the following arrays ResultsFor Volume and ResultsForArea. Finally display the values for the both arrays and display to total for both arrays, Output example Length: 3 Width: 4 Height: 5 Area is : 94 Volume is: 60 Enter new values: Length: 5 Width: 10 Height: 3 Area is: 190 Volume is: 150 (You need to prompt the user to enter five new values) Volumes results: 60, 150, 0,0, 0 Total volume: 210 Area results: 94, 190,0,0,0 Total area: 184

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!