Question: C++ Programming OUTPUT 1 Programmed by Lori Tetzner Enter the x and y coordinates of the center of the circle: 6.5 -3.7 Enter the radius

C++ Programming

OUTPUT 1

Programmed by Lori Tetzner

Enter the x and y coordinates of the center of the circle: 6.5 -3.7

Enter the radius of the circle: 4.2

****************************

Circle Information

Radius: 4.2

Center: (6.5, -3.7)

Area: 55.42

Circumference: 26.39

Circle crosses at least one of the axes and the center is not on an axis

****************************

OUTPUT 2

Programmed by Lori Tetzner

Enter the x and y coordinates of the center of the circle: -5.1 0

Enter the radius of the circle: 10

Circle Information

Radius: 10

Center: (-5.1, 0)

Area: 314.16

Circumference: 62.83

Circle center is on x - axis

****************************

OUTPUT 3

Programmed by Lori Tetzner

Enter the x and y coordinates of the center of the circle: -7 -5

Enter the radius of the circle: 4

****************************

Circle Information Radius: 4

Center: (-7, -5)

Area: 50.27

Circumference: 25.13

Circle is completely in Quadrant III

****************************

OUTPUT4

Programmed by

Enter the x and y coordinates of the center of the circle: 0 0

Enter the radius of the circle: 2.5

****************************

Circle Information

Radius: 2.5

Center: (0, 0)

Area: 19.63

Circumference: 15.71

Circle center is at the origin

****************************

OUTPUT 5

Programmed by

Enter the x and y coordinates of the center of the circle: -8.5 12

Enter the radius of the circle: 8

****************************

Circle Information

Radius: 8

Center: (-8.5, 12)

Area: 201.06

Circumference: 50.27

Circle is completely in Quadrant II

****************************

OUTPUT 6

Programmed by Lori Tetzner

Enter the x and y coordinates of the center of the circle: 0 -7.4

Enter the radius of the circle: 3

****************************

Circle Information

Radius: 3

Center: (0, -7.4)

Area: 28.27

Circumference: 18.85

Circle center is on y - axis

****************************

I am trying to write a program that looks EXACTLY like these out puts using "if else" statements.

I am having trouble with the decimal places on some numbers(i only need two decimal place for the area and circumference and one decimal for the other numbers if shown in the outputs)

also cant figure out the "if else" statement for the last line, first output.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!