questiona house has a house number and an x y


Question

A house has a house number and an (x, y) location, where x and y are numbers between - 10 and 10. The key member function is plot that plots the house. Next, design a class Street that includes a number of equally spaced houses. An object of type Street stores first house, last house, and the number of houses on the street. The Street::plot function requests to make intermediate house objects on the fly, as you don't yet know how to store an arbitrary number of objects. Use these classes in graphics program in which user clicks with the mouse on the locations of the first and last house, then enters house numbers of the first and last house and the number of houses on the street. Then the complete street is plotted.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: questiona house has a house number and an x y
Reference No:- TGS0444754

Expected delivery within 24 Hours