subject

Write a c++ program that has a polygon interface that has abstract functions, and implement classes for triangle, quadrilateral, pentagon, hexagon, and octagon, which implement this interface, with the obvious meanings for the area() and perimeter() functions. also implement classes isoscelestriangle, equilateraltriangle, rectangle, and square, which have the appropriate inheritance relationships. finally, write a simple user interface that allows users to create polygons of the various types, input their geometric dimensions, and then output their area and perimeter. for extra effort, allow users to input polygons by specifying their vertex coordinates and be able to test if two such polygons are similar.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 06:40
What are the three uses of a screw?
Answers: 2
question
Computers and Technology, 23.06.2019 15:00
1. which of the following statements are true about routers and routing on the internet. choose two answers. a. protocols ensure that a single path between two computers is established before sending packets over it. b. routers are hierarchical and the "root" router is responsible for communicating to sub-routers the best paths for them to route internet traffic. c. a packet traveling between two computers on the internet may be rerouted many times along the way or even lost or "dropped". d. routers act independently and route packets as they see fit.
Answers: 2
question
Computers and Technology, 24.06.2019 07:00
Why would a business likely use a java applet - to back up their data files for the business - to create a program that a customer can launch in their web browser - to create music on a powerpoint presentation - to organize files on their company directory
Answers: 3
question
Computers and Technology, 24.06.2019 15:00
What questions about an audience should be asked during presentation preparation? check all that apply. what does the audience already know about the topic? how will multimedia tools inspire the audience? is the information interesting and engaging? how will this information affect the presentation? will the audience change the message’s purpose? what is likely to interest the audience?
Answers: 3
You know the right answer?
Write a c++ program that has a polygon interface that has abstract functions, and implement classe...
Questions
question
Mathematics, 23.04.2020 05:42
question
Mathematics, 23.04.2020 05:42
question
Mathematics, 23.04.2020 05:42
question
Biology, 23.04.2020 05:43
question
Mathematics, 23.04.2020 05:43
Questions on the website: 13722367