answersLogoWhite

0


Best Answer

Center is at (Xc, Yc ). Radius = R. ======================================= Print "Input the coordinates of point 'P', separated by a comma." Input A, B D = (Xc - A)2 + (Yc - B)2 If D < R2 then print "'P' is inside the circle." If D = R2 then print "'P' is on the circle." If D > R2 then print "'P' is outside the circle."

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Given the coordinates xy of a center of a circle and it's radiuswrite a program which will determine whether a point lies inside the circleon the circle or outside the circle conditional statements?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Determine the conclusion in this conditional statement if Larry is in the band then he likes music?

Determine the conclusion in this conditional statement. if Larry is in the band then he likes music?


What is while loop?

A do-while loop is a statement or series of statements that are executed at least once. At the end of each iteration, a conditional expression enclosed in a while() statement is evaluated to determine if the loop should start a new iteration or not.


Given the coordinates xy of a center of a circle and its radius write a program which will determine whether a point lies inside the circleon the circle or outside the circle conditional statements?

Center is at (Xc, Yc ). Radius = R. ======================================= Print "Input the coordinates of point 'P', separated by a comma." Input A, B D = (Xc - A)2 + (Yc - B)2 If D &lt; R2 then print "'P' is inside the circle." If D = R2 then print "'P' is on the circle." If D &gt; R2 then print "'P' is outside the circle." by arup nandy


Determine the hypothesis in this conditional statement if it is after midnight then the store will be closed?

It is after midnight((:


Determine the Conclusion in this conditional statement if it is after midnight then the store will be closed?

The store is closed


What is a do-while loop?

A while loop evaluates the conditional expression at the start of each iteration, whereas a do..while loop evaluates the conditional expression at the end of each iteration. Thus the do..while loop always executes at least one iteration.


What provide the nessary information to determine the liquidity of a company?

finanical statements finanical statements


Is knowing the coordinates of the vertex of a parabola enough to determine the domain and range?

i think that the range and the domain of a parabola is the coordinates of the vertex


How many coordinates in a regular quadrangle?

In 3 dimensional space, there are 12 coordinates, although 9 will be enough to determine the rest..


A pair of numbers used to determine the posittion of a point on a graph?

coordinates


What would be a common task for astronomers?

using a telescope to determine the coordinates of a star


What would be a common task for an astronomer?

using a telescope to determine the coordinates of a star