Answered step by step
Verified Expert Solution
Question
1 Approved Answer
NEED HELP WITH UML DIAGRAM OR FLOWCHART AND CODE TO RUN PLEASE!!!!! Problem 2. (40 points) (Problem Solving Process Required. Include UML Class and Activity
NEED HELP WITH UML DIAGRAM OR FLOWCHART AND CODE TO RUN PLEASE!!!!!
Problem 2. (40 points) (Problem Solving Process Required. Include UML Class and Activity Diagrams) Build a Java Application using two classes that will sum the areas of any number and combination of triangles, rectangles, and circles. One class (CalcArea) will hold at least three methods; one method will calculate the area of a triangle, one method will calculate the area or a rectangle, and one will calculate the area of a circle. The other class TotalArea) will allow a user to input any combination and number of the above shapes and determine the total area in square units. The TotalArea Class will not calculate the areas of any of the shapes; the CalcArea Methods must be called from the TotalArea Class and return the area values accordingly Additional Requirements: -As part of your Design Step, include an UML Activity Diagram for the TotalArea Class As part of your Design Step, include the UML Class Diagrams for both the CalcArea and Total Area Classes As part of your TotalAea Cl implementation, students must use at least one "while" or "for" loop to gather dimension-input from the user - As part of your Test Plan, students will make sure to test different combinations of shapes and numbers of shapes Outputs need to reflect the shape, dimensions, and area of each shape input along with the combined area Problem 2. (40 points) (Problem Solving Process Required. Include UML Class and Activity Diagrams) Build a Java Application using two classes that will sum the areas of any number and combination of triangles, rectangles, and circles. One class (CalcArea) will hold at least three methods; one method will calculate the area of a triangle, one method will calculate the area or a rectangle, and one will calculate the area of a circle. The other class TotalArea) will allow a user to input any combination and number of the above shapes and determine the total area in square units. The TotalArea Class will not calculate the areas of any of the shapes; the CalcArea Methods must be called from the TotalArea Class and return the area values accordingly Additional Requirements: -As part of your Design Step, include an UML Activity Diagram for the TotalArea Class As part of your Design Step, include the UML Class Diagrams for both the CalcArea and Total Area Classes As part of your TotalAea Cl implementation, students must use at least one "while" or "for" loop to gather dimension-input from the user - As part of your Test Plan, students will make sure to test different combinations of shapes and numbers of shapes Outputs need to reflect the shape, dimensions, and area of each shape input along with the combined areaStep 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