public class Circumference {

/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
;
final double PI = 3.14159;

int radius = 10;
double area = PI * radius *radius;
double circum = 2 * PI * radius;


System.out.println("The area of a circle with radius " + radius + " is " + area);
System.out.println("The circum of a circle with radius " + radius + " is " + circum);

radius = 20;
area = PI * radius * radius;
circum = 2 * PI * radius;

System.out.println("The area of a circle with radius " + radius + " is " + area);
System.out.println("The circum of a circle with radius " + radius + " is " + circum);

I got this so far... I need to make a area2... then I have to divide area2/area1.... I then need a println statement for it.... Can anyone help? How do i make an area2, and what would the println statement for dividing the two be?

Similar Questions
  1. I need help putting the following trace into pseudocode1 public class testOperators 2 { 3 public static void main(String[] args)
    1. answers icon 0 answers
    1. answers icon 1 answer
  2. 6. What is the output of following programme/* public class Precedence { public static void main(String[ ] args) {
    1. answers icon 1 answer
  3. without running on java, what is the final answer, please show your work.public class sample { public static void main(String[]
    1. answers icon 2 answers
more similar questions