import java.util.Scanner;
class bananas
{
public static void main(String args[])
{
int x,y,z,area;
Scanner input = new Scanner(System.in);
System.out.println("Enter the length");
x = input.nextInt();
System.out.println("Enter the breadth");
y = input.nextInt();
System.out.println("Enter the height");
z = input.nextInt();
area = x*y*z;
System.out.println("Area = "+ area);
}
}
Quick Links to Application questions (with solutions)!
Saturday, April 17, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment