Posted by : Unknown
Wednesday, 17 June 2015
import java.util.Scanner;
class product
class product
{
public static void main( String args[] )
{
Scanner input = new Scanner( System.in );
int x,y,z,result;
System.out.print( "Enter first integer: " );
public static void main( String args[] )
{
Scanner input = new Scanner( System.in );
int x,y,z,result;
System.out.print( "Enter first integer: " );
        x = input.nextInt(); 
        System.out.print( "Enter second integer: " ); 
        y = input.nextInt(); 
        System.out.print( "Enter third integer: " ); 
        z = input.nextInt(); 
        result = x * y * z; 
System.out.printf( "Product is: %d\n", result );
}
}
System.out.printf( "Product is: %d\n", result );
}
}

