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 15:00
When designing content as part of your content marketing strategy, what does the "think" stage represent in the "see, think, do, care" framework?
Answers: 3
question
Computers and Technology, 24.06.2019 01:00
What are two ways to access the options for scaling and page orientation? click the home tab, then click alignment, or click the file tab. click the file tab, then click print, or click the page layout tab. click the page layout tab, or click the review tab. click the review tab, or click the home tab?
Answers: 2
question
Computers and Technology, 24.06.2019 11:30
Convert 11001110(acdd notation) into decimal
Answers: 2
question
Computers and Technology, 25.06.2019 05:10
Assume that two parallel arrays have been declared and initialized: healthoption an array of type char that contains letter codes for different healthcare options and annual cost an array of type int. the i-th element of annual cost indicates the annual cost of the i-th element of healthoption. in addition, there is an char variable, best2.write the code necessary to assign to best2 the health option with the lower annual cost, considering only the first two healthcare options. thus, if the values of healthoption are 'b', 'q', 'w', 'z' and the values of annualcost are 8430, 9400, 7050, 6400 your code would assign 'b' to best2 because 8430 is less than 9400 and is associated with 'b' in the parallel array. (we ignore 'w' and 'z' because we are considering only the first two options.)
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
Spanish, 13.04.2020 18:11
question
Mathematics, 13.04.2020 18:12
Questions on the website: 13722360