Question: write this in c# language ! Quickly plz Taski PART 1: Problem Description: The Triangle represented by three sides Design a class, name it Triangle

 write this in c# language ! Quickly plz Taski PART 1:

write this in c# language !

Quickly plz

Taski PART 1: Problem Description: The Triangle represented by three sides Design a class, name it Triangle 1 2 3 Side1 Side2 Side3 1 Triangle(String) Data Member Int: represent one of triangle sides Int: represent one of triangle sides Int: represent one of triangle sides Methods Add Constructor : 1. recive a string that represent the sides of the triangle 2. check if the string is able to represent a triangle format as (s1,52,53) 3. split the text to get the values ,values must be positive numbers (if not) throw an exception "Not valid Entries" 4. If the three values are positive values you have to check that the sum of any two sides is larger than the third (if not) : throw an exception "Not triangle" 2 Circumference Read Only property : return siden+side2+side 3 PART 2: Build a simple windows form that 1. Allow the user to insert the sides, the user have to insert values in this format: (51,52,53) and have to be notified if not. For example: (12,2,3): Not Triangle 2. (12,12,2) 3. Split each string that inserted based on the following delimiters:{'C','','') 4. Each item generated after the split have to be represent a side Form SIDE (S1.52.51) (12.2.2) Circunference Formi smes (51,52,52) Circunference (12,12,2) Not Trangle: Tebe a triangle the sum of wides Must be larger the the thud Circumference 26 CLEAR Forml x SIDES (51,52,53) (12,2) Circumference 26 Not valid Entries OK

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Here is the full C code that implements exactly what you requested PART 1 Triangle Class csharp usin... View full answer

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!