Question: Using OBJECT ORIENTED java programming with hierarchy Nick has just opened a sign shop, specializing in Old School Neon signs (bent glass tubes, inert gasses,

Using OBJECT ORIENTED java programming with hierarchy

Using OBJECT ORIENTED java programming with hierarchy Nick has just opened a

sign shop, specializing in "Old School" Neon signs (bent glass tubes, inert

Nick has just opened a sign shop, specializing in "Old School" Neon signs (bent glass tubes, inert gasses, the real deal). Nick is trying to reduce how much glass tubing he uses (i.e. wastes through "trial and error") and has asked you to write a Java program to figure out how much tubing to use for various sizes and shapes. Design and code a Java program that prompts the user for the shapes and sizes, and calculates and prints the "outside" dimension: - (R)ectangle given height and width - (S)quare given height - (C)ircumference of a circle, given the diameter. - (T)riangle perimeter - (L)ine given length [used for connecting shapes] The program should continue to ask the user for values until the user enters ' Q ' as the type of calculation. After data entry, print the list of shapes and the Total Length. The program should echo print the input data and prompt appropriately. Label the output and format to one decimal place (omit units for now). uring the Design Phase: Apply Object Oriented design principles following the guidelines discussed in class. Use inheritance to create a hierarchy of shapes

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!