public static void Main(String[] args)
Console.WriteLine("MadLibs! Type your response to the prompts to get a story at the end.");
Console.WriteLine("Person: ");
Console.WriteLine("Place: ");
Console.WriteLine("Adjective: ");
Console.WriteLine("Plural Noun: ");
input(out thingsInPlaOne);
Console.WriteLine("Adjective: ");
Console.WriteLine("Plural Noun: ");
input(out thingsInPlaTwo);
Console.WriteLine("Action Verb: ");
input(out actionVerbOne);
Console.WriteLine("Plural Noun: ");
input(out thingsInPlaThr);
Console.WriteLine("Plural Noun: ");
Console.WriteLine("Noun: ");
Console.WriteLine("Action Verb: ");
input(out actionVerbTwo);
Console.WriteLine("Noun: ");
Console.WriteLine("Adjective: ");
Console.WriteLine("* * * My Summer Trip * * *");
Console.Write("Last summer, my mom and dad took me and {0} on a trip to {1}. ", person, place);
Console.Write("The weather there is very {0}! ", weatherAdj);
Console.Write("Northern {0} has many {1}, and they make {2} {3} there. ", place, thingsInPlaOne,thingsAdj, thingsInPlaTwo);
Console.Write("Many people also go to the {0} to {1} or see the {2}. ", place, actionVerbOne, thingsInPlaThr);
Console.Write("The people that live there love to eat {0} and are very proud of their big {1}. ", foodsInPla, thingLargo);
Console.Write("They also like to {0} in the sun and swim in the {1}!", actionVerbTwo, thingSwim);
Console.Write("It was a really {0} trip!", tripAdj);
private static void input(out double result)
while (!double.TryParse(Console.ReadLine(), out result));
private static void input(out int result)
while (!int.TryParse(Console.ReadLine(), out result));
private static void input(out Boolean result)
while (!Boolean.TryParse(Console.ReadLine(), out result));
private static void input(out string result)
result = Console.ReadLine();