﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Problem08_Refactor_Volume_of_Pyramid
{
    class Program
    {
        static void Main(string[] args)
        {
            double width = 0.0;
            double length = 0.0;
            double height = 0.0;
            double result = 0.0; 
            Console.Write("Length: ");
            width = double.Parse(Console.ReadLine());
            Console.Write("Width: ");
            length = double.Parse(Console.ReadLine());
            Console.Write("Height: ");
            height = double.Parse(Console.ReadLine());
            result = width + length + height;
            Console.WriteLine("Pyramid Volume: {0:F2}", result);


        }
    }
}
