Question: Attachment 1 is the instructions and 2 is the house.java Part 2: Drawing Houses 5. Open louees. java using jGRASP. Take a minute to read

 Attachment 1 is the instructions and 2 is the house.java Part2: Drawing Houses 5. Open louees. java using jGRASP. Take a minute

Attachment 1 is the instructions and 2 is the house.java

Part 2: Drawing Houses 5. Open louees. java using jGRASP. Take a minute to read over the provided code, then try running it 6. Add a new method named dravBouse that satisfies the following requirements: It should take two double parameters named x and y When executed, it should draw a house that looks like the following: e o e The total width of the house should be .2. The total height of the house should be 3. The rectangle at the bottom should have a height of 2 and the roof should have a height of e The rectangle that forms the bottom part of the house should be centered at (x, y). In other words, the location of the house should be determined by the parameter values. The method should include a cal o to drewDoor. YOU SHOULD NOT COPY THE CONTENTS OF drawDoor INTO drawilouse! 7. Modify your main so that in includes three calls to drawlouse. Houses should be drawn at (.2, 5). (5, 5) and (8, 5). The result should look like the image at the top of this page Part 2: Drawing Houses 5. Open louees. java using jGRASP. Take a minute to read over the provided code, then try running it 6. Add a new method named dravBouse that satisfies the following requirements: It should take two double parameters named x and y When executed, it should draw a house that looks like the following: e o e The total width of the house should be .2. The total height of the house should be 3. The rectangle at the bottom should have a height of 2 and the roof should have a height of e The rectangle that forms the bottom part of the house should be centered at (x, y). In other words, the location of the house should be determined by the parameter values. The method should include a cal o to drewDoor. YOU SHOULD NOT COPY THE CONTENTS OF drawDoor INTO drawilouse! 7. Modify your main so that in includes three calls to drawlouse. Houses should be drawn at (.2, 5). (5, 5) and (8, 5). The result should look like the image at the top of this page

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!