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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started