weinerwad3000

Untitled

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