1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Schach [20]
3 years ago
13

PROBLEM 2: Classifying a Cartesian Data Point (30 points)

Computers and Technology
1 answer:
Aleksandr [31]3 years ago
8 0

Answer: Classifying Cartesian Data Point (30 points) Write program t0 prompt the user to enter value ior variable and a value for a variable y_ The values for variables and correspond to point P = (x, y) located in the Cartesian plane (l.e- the Rectangular x-y plane). Using combination of conditional if statements and the built-in fprintf function, the program should display one of the following messages according to the value of x and y. Format the display of the coordinates as fixed-point numbers showing maximum of 2 digits after the decimal point: Point (xVal, YVal) is located on the origin_ Point (xVal, YVal) is located on the x-axis Point (xVal, YVal) is located on the y-axis. Point (xVal, YVal) is located in quadrant Point (xVal, YVal) is located in quadrant II. Point (xVal, YVal) is located in quadrant III . Point (xVal, yVal) is located in quadrant IV . Then the program displays how far (i.e. distance) point (x, Y) is from the origin: Format the display of the distance as real number showing 3 digits after the decimal point: Test your script for all possible locations of (x, y) Some sample executions of the script are shown below FIRSTNAME LASTNAME LAB7 problem2 Enter value fOr Ene coordinate: Enter value f0r Lhe coordinate: Point 20 , 90) loca Led in quadrant Point (3.20, 90) is 3.722 units away from che origin. FIRSTNAME LASTNAME LAB7 problem2 Enter value f0r Lhe coordinate: Enter value for Ehe coordinate Point (-3.20 90) 15 located in quadrant II _ Point (-3.20 , 90) 3.722 units away from the origin. FIRSTNAME_LASTNAME_LAB7 problemz Enter value for Lhe coordinate: Enter value for Lhe coordinate Point 8 0 ) located che y-axis Point (0.00, -3.80) 800 units away Tom the origin.

Explanation:

You might be interested in
The only requirement of __________ is that the sender must provide some mechanism whereby the receiver can opt out of future ema
fiasKO [112]

Answer:

The CAN-SPAM Act

Explanation:

Email or electronic mail is an information system mechanism of communication, that involves the use of digital devices to initiate communication over the internet. The email uses several protocols like the POP3, IMAP etc.

The CAN-SPAM Act is proposed in the United States law, applicable to email investigations. It requires that a sender provides a mechanism whereby the receiver can opt out of future emails without a fee.

4 0
3 years ago
Steve left his computer switched on in his room and went out to have breakfast. When he returned, he saw that the monitor had be
yanalaym [24]

Answer:

B

Explanation:

5 0
4 years ago
The key invention that enabled computers to go into every home and office is
Scrat [10]
<span><span />The Microprocessor is the key invention that enabled computers to go into every home and office. Microprocessor is a computer processor that enables the computer to run. It is also called as central processing unit. It is also a multipurpose and programmable device that accepts inputted data and process the data to provide an output. Microprocessor started from 8-bit design to 16bit, 32 bit, 64 bit and now it is produce a multi core design in the market. Faster and stronger design that can run heavier applications.</span>



8 0
4 years ago
What are the advantages of using variables in a data type?
mixas84 [53]

Answer:

A variable is a name associated with a data value; we say that the variable "stores" or "contains" the value. Variables allow us to store and manipulate data in our programs.

5 0
3 years ago
Mi laptop dice the computer restarted unexpectedly or encountered an unexpected error.Windows installation cannot procced.To ins
borishaifa [10]

Answer:

Explanation:

There are two reasons as to what could have happened with your laptop. The first one is that your laptop was installing a critical windows update which got corrupted when the laptop's battery died causing windows itself to become corrupted. In this case, you would need to format the hard drive and reinstall windows. The second reason could be that your hard drive is failing and not allowing Windows to load or properly be installed on it. In this second scenario you would need to buy and replace the hard drive.

4 0
3 years ago
Other questions:
  • Consider the following recursive method, which is intended to return a String with any consecutive duplicate characters removed.
    11·1 answer
  • Samantha plans an investigation in which she will study a population of animals. Which of these answers best describes the focus
    8·1 answer
  • Can somebody help me?
    11·1 answer
  • PLZ HELP ME! What is a false statement about online time?
    9·1 answer
  • Now tell me how be rich like Bill Gates
    6·1 answer
  • Write a function stats that takes an array and the number of elements in the array. Then, it computes and prints the minimum val
    8·1 answer
  • Who is a second-degree contact on a professional networking profile?
    12·1 answer
  • PLZZZ HELP!!!
    9·1 answer
  • Quick!! Im taking a timed test so pls hurry!! Ill even mark as brainliets!!
    5·2 answers
  • 15. Question
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!