question archive Create a detailed UML Class diagram that documents the provided class(s)

Create a detailed UML Class diagram that documents the provided class(s)

Subject:Computer SciencePrice: Bought3

Create a detailed UML Class diagram that documents the provided class(s).

  • Write pseudocode for the verify method of class MeterStick
  • Write pseudocode for the toString method of class MeterStick
  • Write pseucode for the main method

What is the problem to solve for this exercise?

  • A tool manufacturing company needs software to verify the lengths of meter sticks as they come off the production line. The software should ask the user to enter the length of the meter stick in meters, then verify that it is within 0.0001 meters of 1 meter. (0.1 meter is decimeter, 0.01 meter is centimeter, 0.001 meter is millimeter). The program should also ask the user what type of output they wish to view, one of verifying the length of the meter stick, seeing the centimeters of the meter stick, seeing the millimetres of the meter stick, or seeing a text report that represents the meter stick. All numbers must be formatted to five decimal places for output. When verifying meter sticks the company uses a tolerance of 0.0001 meters i.e. no more than one-tenth of a millimeter off expected measure of 1.0.

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE