// Compute volume of pyramid 10 meters high public class Pyramid10 { public static void main(String[] args) { System.out.print("A pyramid 10 meters high will take "); System.out.print(0.814 * 10 * 10 * 10); System.out.println(" cubic meters of rock."); } }