POS 409 Week 4 Individual Assignment Exceptions
Instructions: Using Microsoft® Visual Studio®, write an application to find the area and perimeter of a rectangle for the given input values of Length and Width in different measurement units using inches (in), feet (ft), meters (m), and centimeters (cm). In addition, write an Area Converter class that can be used to convert output in different measurement units. If the user enters a negative number or a nonnumeric value, throw and handle an exception. Your solution should include exception-handling techniques with a minimum of two catch clauses.
Questions & Answers
Have a Question?
Be the first to ask a question about this.