Question: I'm trying to create a c# console application that has a main menu with two options: 1. Enter dimensions 2. Exit If the user inputs

I'm trying to create a c# console application that has a main menu with two options:

1. Enter dimensions

2. Exit

If the user inputs anything else an error message displays, if the user inputs 1 they are prompted to enter 3 integers (They are asked for the first, then second and finally third. where they are unable to enter a negative integer or letter) With these integers I have to figure out if the triangle is a scalene, iscosceles, or equilateral.

I need to create a static class called TSolver as a separate file, it will contain a static method called Analyze which accepts three integers as an input and ends up returning a string as an output.

I finally need to write unit tests for the Analyze method I created ( I'm not too sure how to do this though.).

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!