public static void Main()
int length, width, height, totalDims;
Console.Write("Enter your Length: ");
while(!Int32.TryParse(Console.ReadLine(), out length)){
Console.Write("Enter your Length again: ");
Console.Write("Enter your Width: ");
while(!Int32.TryParse(Console.ReadLine(), out width)){
Console.Write("Enter your Width again: ");
Console.Write("Enter your Height: ");
while(!Int32.TryParse(Console.ReadLine(), out height)){
Console.Write("Enter your Height again: ");
totalDims = length * width * height;
decimal cubicFeet = totalDims / 1728m;
Console.WriteLine("Your total cubic feet is " + cubicFeet);