Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C# with screen shot Lab5C: What's the point? For this lab exercise, you will need to create a program that determines the location of a

C# with screen shot
image text in transcribed
image text in transcribed
Lab5C: 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 x-coordinate and y-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 outcomes) are: - On the origin (0,0) - On the x-axis - On the y-axis - In the first quadrant - In the second quadrant - In the third quadrant - In the fourth quadrant Example of a Cartesian plane Remember, the class name should be Lab5C. Please follow the example of the sample run is shown below. User input is in bold. Sample output i1: Enter x:0 Enter y:0 This point is the origin. Sample output 12 : Enter x:0 Enter y:4 This point is on the y axis. Sample output 43 : Enter x:5 Enter y: 0 - On the x-axis - On the y-axis - In the first quadrant - In the second quadrant - In the third quadrant - In the fourth quadrant Examole of a Cartesian nlane Remember, the class name should be Lab5C. Please follow the example of 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:4 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 44: Enter x:1 Enter y : 1 This point is in the first quadrant

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advanced Database Systems For Integration Of Media And User Environments 98

Authors: Yahiko Kambayashi, Akifumi Makinouchi, Shunsuke Uemura, Katsumi Tanaka, Yoshifumi Masunaga

1st Edition

9810234368, 978-9810234362

More Books

Students also viewed these Databases questions

Question

How do you add two harmonic motions having different frequencies?

Answered: 1 week ago