Answered step by step
Verified Expert Solution
Link Copied!

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!!!!!

image text in transcribed

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 area

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2016 Riva Del Garda Italy September 19 23 2016 Proceedings Part 3 Lnai 9853

Authors: Bettina Berendt ,Bjorn Bringmann ,Elisa Fromont ,Gemma Garriga ,Pauli Miettinen ,Nikolaj Tatti ,Volker Tresp

1st Edition

3319461303, 978-3319461304

More Books

Students also viewed these Databases questions

Question

Parallel and Distributed Computing Lab 4 PageRank

Answered: 1 week ago