Question: Labsc: What's the point? For this lab exercise, you will need to create a program that determines the location of a point on the Cartesian
Labsc: What's the point?
For this lab exercise, you will need to create a program that determines the location of a point on
the Cartesian plane. The program should take the coordinate and coordinate of a point in a
Cartesian plane as input. The inputs should be integer values.
The program should then print out the entered values and the location of the point on the
Cartesian plane.
The possible locations for the point the oulcomes are:
On the origin
On the axis
On the axis
In the first quadrant
In the second quadrant
In the third quadrant
In the fourth quadrs
Remember, the class name should be LabC
Please follow the example of the sample run is shown below. User input is in bold.
Sample output # :
Enter x:
Enter :
This point is the origin.
Sample output :
Enter X:
Enter y:
This point is on the axis.
Sample output # :
Enter x:
Enter :
This point s on the axis.
Sample output # :
Enter x:
Enter :
This point is in the first quadrant.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
