public static class Madlib
static string[] Words = {
static string[] Prompts = {
Console.WriteLine("-------");
Console.WriteLine("MadLib!");
Console.WriteLine("-------");
for (int i = 0; i < Words.Length; i = i +1)
Console.WriteLine("Please enter a/an " + Prompts[i] + ": ");
Words[i] = Console.ReadLine();
Story = "They all agreed\nthat it was a huge " + Words[0] + ", \n" + Words[1] + ", " + Words[2] + ", and " + Words[3] + ".\nI have cross-examined these men, \none of them a hard-headed " + Words[4] + ", \none a " + Words[5] + ", \nand one a moorland " + Words[6] + ", \nwho all tell the same story \nof this " + Words[7] + " " + Words[8] + ", \nexactly corresponding \nto the " + Words[9] + " of the legend.";
Console.WriteLine(Story);
Console.WriteLine("Press Enter to exit.");
public static void Main()