Advertisement
Guest User

Why it error?

a guest
Oct 17th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 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 ConsoleApp1
  8. {
  9. class Program
  10. {
  11. static void Main(string[] args)
  12. {
  13. Console.WriteLine("The Bad Person Test");
  14. Console.WriteLine("");
  15. Console.WriteLine("There is a train coming on some traintracks. Let's call this first one Track 1.");
  16. Console.WriteLine("The track it is on currently has, 500 meters ahead, got 5 people tied to the tracks and the train will run them over unless you switch the train to another trick.");
  17. Console.WriteLine("On the other set of tracks however, Track 2, there is a single person tied to the tracks, and if you choose to change the tracks this person will be killed by the train.");
  18. Console.WriteLine("");
  19. Console.WriteLine("Which track do you choose?");
  20. string anwser = Convert.ToString(Console.ReadLine());
  21. if (anwser == "Track 1")
  22. {
  23. Console.WriteLine("You are terrible! You just killed 5 people instead of one, what a disregard for human life!");
  24. }
  25. else (anwser == "Track 2")
  26. {
  27. Console.WriteLine("You made the right choice... or did you?... Yeah, but try the Super Secret 3rd Option!");
  28. }
  29. else (anwser == "Super Secret 3rd Option!")
  30. {
  31. System.Diagnostics.Process.Start(https://youtu.be/-N_RZJUAQY4?t=10s);
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement