Question: C# program 1- Create a new C# console application project. 2- Create a class named grid that represents a cartesian plane. 3- Create a method
C# program

1- Create a new C# console application project. 2- Create a class named grid that represents a cartesian plane. 3- Create a method within that class to check whether the points x and y that you want to plot are within range. 4- Create a method to check which quadrant the points x and y are in. a Points x and y are hardcoded integers. 5- In your main method create a new object of type grid and test your program with a few points. a Your x min, xmax, ymin, ymax, should be based on your birthyear (if you are born after the year 2000 please enter 1999), for example 1995 xmin=-1, xmax = 9, ymin=-9, ymax=5. 6. You should have a set of points that are in range. c. You should have a set of points that are out of range. d. You should have a set of points in each of the quadrants. Getting Started: public class Grid { //Data attributes representing the grid. private int yMax; private int yMin; private int xMax; private int xMin; //Constructor public Grid(int xMin, int xMax, int yMin, int yMax) { } //Method to check range. public bool checkRange(int x, int y){ } //Method to check Quadrant public int quadrant(int x, int y){ } }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
