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 18:30
Which of the following commands is more recommended while creating a bot?
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
Write an essay on online collaboration, how to do it, the challenges, resolving the challenges, and consider whether the risks are greater than rewards. ( need )
Answers: 1
question
Computers and Technology, 24.06.2019 00:00
Visualizing a game of β€œtag” to remember the meaning of contagious
Answers: 3
question
Computers and Technology, 24.06.2019 11:00
Each row in a database is a set of unique information called a(n) ? a.) table. b.) record. c.) object. d.) field.
Answers: 2
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
English, 22.04.2020 01:29
Questions on the website: 13722363