go to previous page   go to home page   go to next page

Answer:

Sure.


Two Cones

Here is a program with a few blanks to fill:

public class TestCone
{
  public static void main( String[] args ) 
  {
    Cone cone1 = new Cone( 2.5, 5.8 );
    System.out.println( "cone1 area: " + cone1.area() + " volume: " + cone1.volume() );

    Cone cone2 = new Cone( ,   );

    System.out.println( "cone2 area: " + cone2.area() + " volume: " + cone2.volume() );
  }
}

QUESTION 14:

Fill in the blanks for the second cone with numbers of your choice.


go to previous page   go to home page   go to next page