15a_Assignment_9

15a_Assignment_9 - Assignment 9 - A Touch of Geometry...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Assignment 9 - A Touch of Geometry Select one option from the three below. All options are worth the same number of points. The more advanced options are provided for students who find the basic ones too easy and want more of a challenge. Make sure you have read and understand the Modules Information About Programming Assignments and Style Rules for Assignments before submitting this assignment. Hand in only one program, please. OPTION A (Basic): A List of Points Create a class called Point that has the following private members: int x - the x-coordinate of the point (thought of as measured in pixels from the left edge of the window). int y - the y-coordinate of the point (thought of as measured in pixels from the top edge of the window). Supply the following: Constructors that takes no parameters (default (0,0)) and two parameters (x, y). Set(int x, int y) - a mutator. int GetX()
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

15a_Assignment_9 - Assignment 9 - A Touch of Geometry...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online