chapter+8+java+project

import

java.util.Scanner;

public

** class  ** volume2 {

** public  ****  static  ****  void  ** main(String[] args) {

Scanner keyboard =

** new  ** Scanner(System.//  in  //);

** double  ** pi = 3.14 ;  // pi equation given

System.

// out  //.println (  "Enter in the radius of the circle"  ) ;  // user enters the radius of the circle

** double  ** radius = keyboard.nextDouble ;

System.

// out  //.println (  "Enter in the height of the circle"  ) ;  // user enters the height of the circle

** double  ** height = keyboard.nextDouble ;

** double  ** answer = pi*radius*radius*height ;  // equation for volume is given

System.

// out  //.println(answer);  // answer is given

} }