# Answer to Question #26086 in C++ for hanrik

Question #26086

The following formula gives the distance between two points (x1, y1) and (x2, y2) in the Cartesian plane: Given the center and a point on a circle, you can use this formula to find the radius of the circle. Write a program that prompts the user to enter the center and a point on the circle. The program should then output the circle’s radius, diameter, circumference and area. Your program must have at least the following procedures:

a. distance: This function takes four numbers as its parameters that represent two points in the plane and returns the distance between them.

b. radius: This function takes as its parameters four numbers that represent the center and a point on the circle, calls the function distance to find the radius of the circle and returns the circle’s radius.

c. circumference: This function takes as tis parameter a number that represents the radius of the circle and returns the circle’s circumference.

d. area: Represents the radius of the circle and returns the circle’s area

a. distance: This function takes four numbers as its parameters that represent two points in the plane and returns the distance between them.

b. radius: This function takes as its parameters four numbers that represent the center and a point on the circle, calls the function distance to find the radius of the circle and returns the circle’s radius.

c. circumference: This function takes as tis parameter a number that represents the radius of the circle and returns the circle’s circumference.

d. area: Represents the radius of the circle and returns the circle’s area

Expert's answer

Unfortunately, your question requires a lot of work and cannot be done for free.

Submit it with all requirements as an assignment to our control panel and we'll assist you.

Submit it with all requirements as an assignment to our control panel and we'll assist you.

Need a fast expert's response?

Submit orderand get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

## Comments

## Leave a comment