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");
while (toppings >= 4 || toppings <= 12)
Console.Write("Enter how many toppings :");
toppings = int.Parse(Console.ReadLine());
if (toppings < 4 || toppings > 12)
Console.WriteLine("Invalid Number of Toppings");
price = 27.85 * area + 15.75 * toppings;
Console.Write("What is your name? ");
name = Console.ReadLine();
Console.Write("What is your gender? ");
gender = Console.ReadLine();
while (gender == "male" || gender == "female")
if (gender.ToLower().Equals("male"))
else if (gender.ToLower().Equals("female"))
Console.WriteLine("Gender Unknown: Bye");
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);