public static void Main()
while (shape < 1 || shape > 3)
Console.Write("Enter the shape of your pizza [1]Circle [2]Square [3]Triangle ");
shape = int.Parse(Console.ReadLine());
Console.Write("Enter radius: ");
int radius = int.Parse(Console.ReadLine());
area = Math.PI * Math.Pow(radius, 2);
Console.Write("Enter side: ");
int side = int.Parse(Console.ReadLine());
Console.Write("Enter base: ");
int b = int.Parse(Console.ReadLine());
Console.Write("Enter height: ");
int h = int.Parse(Console.ReadLine());
Console.WriteLine("Invalid Shape: Try again\n");
while (toppings < 4 || toppings > 12)
Console.Write("Enter how many toppings :");
toppings = int.Parse(Console.ReadLine());
if (toppings < 4 || toppings > 12)
Console.WriteLine("Toppings must be 4-12 only: Try again\n");
price = 27.85 * area + 15.75 * toppings;
Console.Write("What is your name? ");
name = Console.ReadLine();
while (gender != "male" && gender != "female")
Console.Write("What is your gender? (Male or Female) ");
gender = Console.ReadLine().ToLower();
if (gender.ToLower().Equals("male"))
else if (gender.ToLower().Equals("female"))
Console.WriteLine("Gender Unknown: Try again");
Console.WriteLine("\n\n======================================");
Console.WriteLine("Name: " + name);
Console.WriteLine("Pizza: " + pizzaShape);
Console.WriteLine("Price: " + price);
Console.WriteLine("\nThank you. Please come back {0} {1}", title, name);