/** * Program should print the radius, area, and the circumference of a circle. * * Nathan WIlliamson * Week 4 * Pro54c - Circles * Sep 29, 2011 * */ public class Circles { // Varible for Pi and Radius that will be used for calculations double pi = 3.14159d; double radius = 3.712d; public Circles() { // Calculations for area, and circumference Area = (pi *radius); Circumference = ((2 * pi) * radius); //rounding numbers //printout radius, area, and circumference System.out.println("The Radius of the circle = " + radius); System.out.println("The Area of the circle = " + Area); System.out.println("The Circumference of the circle = " + Circumference); } }

Sorry this is not the correct code...in this one I dont have the variables right. I post post the code in the next two mins.

/** * Program should print the radius, area, and the circumference of a circle. * * Nathan WIlliamson * Week 4 * Pro54c - Circles * Sep 29, 2011 * */ public class Circles { // Varible for Pi and Radius that will be used for calculations and varibles // for output double pi = 3.14159d; double radius = 3.712d; double circumference, area; public Circles() { // Calculations for area, and circumference area = (pi *radius); circumference = ((2 * pi) * radius); //rounding numbers //printout radius, area, and circumference System.out.println("The Radius of the circle = " + radius); System.out.println("The Area of the circle = " + area); System.out.println("The Circumference of the circle = " + circumference); } }

ok this is my current code!