Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace ConsoleApplication9
- {
- class Program
- {
- static void Main(string[] args)
- {
- StoryOne();
- }
- static void StoryOne()
- {
- string[] words = new string[19] {"adjective", "day of the week", "noun",
- "noun", "verb ending in ing", "plural noun", "adverb",
- "adjective", "amount of time in minutes", "noun", "verb ending in ed",
- "part of body", "an exclamation", "verb ending in ing",
- "noun", "verb ending in ing", "animal", "place", "adjective"};
- for(int i = 0; i < words.Length; i++)
- {
- Console.WriteLine("Please enter a(n) " + words[i]);
- words[i] = Convert.ToString(Console.ReadLine());
- }
- Console.WriteLine("Here is your story");
- Console.WriteLine(" My camping trip");
- Console.WriteLine("One {0} {1} I got out of bed.", words[0], words[1]);
- Console.WriteLine("I went down to eat {2}. My dad was up making {3}.", words[2], words[3]);
- Console.WriteLine("He told me we were {4} on a trip in the {5}.", words[4], words[5]);
- Console.WriteLine("We loaded the car up {6}.The trip was pretty ", words[6]);
- Console.WriteLine("{7} and only took {8} minutes to get there.", words[7], words[8]);
- Console.WriteLine("When we got there nothing seemed to go {9}. When we were setting ", words[9]);
- Console.WriteLine("up the {10} dad {11} his {12} with a hammer. He yelled ", words[10], words[11], words[12]);
- Console.WriteLine("'{13}!!!' Later we decided to go {14} and I fell when ", words[13], words[14]);
- Console.WriteLine("getting in the {15}. When we decided to go {16} dad saw a(n) ", words[15], words[16]);
- Console.WriteLine("{17}. At that point dad was ready to head back {18}. What a(n) {19} trip!", words[17], words[18], words[19]);
- Console.ReadLine();
- }
- }
- }
Add Comment
Please, Sign In to add comment