subject

Design and implement a java program (name it CheckPoint) that prompts the user to enter the x-coordinate and y-coordinate of a point (in a Cartesian plane) as integer values. The program prints out the entered values followed by the location of the point on the plane. The possibilities for a point are: the origin point, on the x-axis, on the y-axis, in the first quadrant, in the second quadrant, in the third quadrant, or in the fourth quadrant. Format the outputs following the sample runs below. Sample run 1:
X-coordinate is 0
Y-coordinate is 0
(0,0)is the origin point.
Sample run 2:
X-coordinate is 4
Y-coordinate is 0
(4,0) is on the x-axis.
Sample run 3:
X-coordinate is -2
Y-coordinate is -3
(-2,-3) is in the third quadrant.
Sample run 4:
X-coordinate is 6
Y-coordinate is 9
(6,9) is in the first quadrant.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 16:30
The most common battery cable terminal is a that provides a large surface contact area with the ability to tighten the terminal onto the battery post using a nut and bolt.
Answers: 2
question
Computers and Technology, 23.06.2019 16:30
Which of the following is not an enhancement to the standard wiki to make it more attractive for corporations? encryptionwork spacespermission toolspredictive text
Answers: 2
question
Computers and Technology, 24.06.2019 10:00
1. which of these is not true about torsion bars? a. they can be used to adjust ride height b. they can be adjusted anytime since they don't affect alignment angles c. they attach between the frame and the lower control arm d. they twist to produce a spring effect
Answers: 1
question
Computers and Technology, 24.06.2019 13:30
What is the most important for you to choose before you build a network?
Answers: 1
You know the right answer?
Design and implement a java program (name it CheckPoint) that prompts the user to enter the x-coordi...
Questions
question
Mathematics, 17.06.2020 20:57
question
Mathematics, 17.06.2020 20:57
Questions on the website: 13722360