Answered step by step
Verified Expert Solution
Question
1 Approved Answer
C# source code please (not pseudo) Lab5C: What's the point? For this lab, you will create a program that takes as an input the x-coordinate
C# source code please (not pseudo)
Lab5C: What's the point? For this lab, you will create a program that takes as an input the x-coordinate and y-coordinate of a point in a Cartesian plane as integer values. The program prints out the entered values and the location of the point on the plane. The possible locations for the point (the outcomes) are: the origin, 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. The sample run is shown below. User input is in bold. Sample output #1: Enter x: 0 Enter y: 0 This point is the origin. Sample output #2: Enter x: 0 Enter y: 5 This point is on the y axis. Sample output #3: Enter x: -5 Enter y: 0 This point is on the x axis. Sample output #4: Enter x: 1 Enter y: 1 This point is in the first quadrant. Sample output #5: Enter x: -1 Enter y: -1 This point is in the third quadrantStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started