Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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 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_2

Step: 3

blur-text-image_3

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

Database Concepts

Authors: David M. Kroenke

1st Edition

0130086509, 978-0130086501

More Books

Students also viewed these Databases questions

Question

=+ Are there additional forms of employee representation?

Answered: 1 week ago

Question

=+What is the nature of their impact?

Answered: 1 week ago

Question

=+Is it possible to operate union-free?

Answered: 1 week ago