Write a program that reads the coordinates

Assignment Help Programming Languages
Reference no: EM13693796

Question: Write a program that reads the (x,y) coordinates of a point in the Cartesian plane and prints a message telling in which quadrant, or on which axis (or axes) the point lies. The quadrants are labeled as follows:

Your program should interact with the user in exactly this manner:

Enter the coordinates=> 2.5 -3.4

(2.5, -3.4) is in quadrant IV

or

Enter the coordinates=> 0 -3.4

(0.0, -3.4) is on the y axis

Please keep it simple and short and no copy and paste or at least help me get started?

 

Reference no: EM13693796

Questions Cloud

Your program should ask the user to input a grade : Your program should ask the user to input a grade (integer from 1-100) and then output the letter grade.
Returns the number of days in a month : Using only "If" statements.  Returns the number of days in a month.  Each month will be shown by a corresponding integer. This is not the most correct calculation, but Leap Year will be calculated using (Year/4) to determine if the input year is a..
Program that prompts the user to input the dimensions : Amanda and Tyler opened a business that specializes in shipping liquids, such as milk, juice, and water, in cylinderical containers. The shipping charges depend on the amount of liquid in the container.
Figure out the missing data : We are to figure out the missing data. To my understanding, there is going to be some kind of proportion here, or what? How would you go about figuring these out?
Write a program that reads the coordinates : Write a program that reads the (x,y) coordinates of a point in the Cartesian plane and prints a message telling in which quadrant, or on which axis (or axes) the point lies. The quadrants are labeled as follows:
Describe the chemical symbol of one of the elements : Write a program that reads a single character describing the chemical symbol of one of the elements H, C, N, O, F and prints the full name of the element.
Compute and return the celsius temperature : Write a program that takes as input a depth (in kilometers) inside the earth and displays the temperature at this depth in degrees Celsius and in degrees Fahrenheit. The relevant formula is
Implement newtons method in matlab : Implement the secant method in Matlab and Implement Newtons method in Matlab
Cost-benefit analysis : The average annual cost to the company of a manager is $162,000, whereas no managerial professionals cost $121,000 a year on average; both figures include overhead.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a program that will operate the alarm simulation

Write a program that will operate the Alarm Simulation, using the following inputs and outputs and whatever Timers and Flags are required.

  Program ask user to enter starting amount in savings account

There is a Savings and a Checking account. Your program should begin by asking the user to enter the starting amount in the checking and savings accounts.

  Write a function that uses stream-map

Now write a function that uses stream-map to produce the sum of two streams element by element for the first x elements . Be sure to test with several different types of streams (for example, you could sum together the odd and even numbers betwee..

  Write an algorithm in structured english

Write an algorithm in structured English (pseudocode) that describes the steps required to perform the task specified and implement your algorithm in Python.

  Construct a diagram using rationaleto map the arguments

Construct a diagram using Rationaleto map the arguments about a moral claim that you have identified in the article/case study

  Write program to decodes messages using caesar cypher

Write a program which decodes messages. Messages will be encoded using Caesar cypher, with each letter being decoded by replacing it with the previous letter in the alphabet.

  Input number by user and display positive and negative

Input a number entered by the user and display "positive" if it is greater than zero, "negative" if it is less than zero, and "zero" if it is equal to zero.

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Write application that inputs a telephone number as string

Write an application that inputs a telephone number as a string in the form (555) 555-5555. The application should String method split to extract the area code as a token.

  Write program to compute volume flow rate

Write program to compute volume flow rate in cubic feet per second of water flowing through a pipe of diameter d in inches and a velocity of v feet per second.

  Program by bernstein-s conditions to get maximum parallelism

Restructure program by using Bernstein's conditions in order to get maximum parallelism between processes. Specify which of the three conditions is not satisfied.

  Write program to compute total payment

Write a program that computes the total payment, tip, and tax for the "ABC" restaurant. This program must have three functions as below: Menu (Show the menu for each customer). Menu include 6 options.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd