[csharp] erweuw

Viewer

  1. using System;
  2.  
  3. class Program {
  4.   public static void Main (string[] args) {
  5.     string main;
  6.     Console.Write("It was a long day after school. You're walking up North Rd. trying to get home when you find an alleyway, you check your phone and see that it leads to road near your house. You have decided to take the shortcut, while walking down this alleyway you see a kid crying. Do you help him? [YES] or [NO]: ");
  7.     main = Console.ReadLine();
  8.  
  9.     if (main == "yes") {
  10.       string yesop1;
  11.       Console.Write("You sit down next to him; you ask him if he's doing okay. He says yea but he continues crying. Do you walk away, or do you help him? [HELP] or [WALK]: ");
  12.       yesop1 = Console.ReadLine();
  13.       if (yesop1 == "walk") {
  14.         string walkop1;
  15.         Console.Write("You have decided to walk away. You hear him cry louder and he asks you to wait. You ignore him and he says please I need a new friend and you seem nice. Do you ignore him again and walk away or do you go back and talk to him? [IGNORE] or [BACK]: ");
  16.         walkop1 = Console.ReadLine();
  17.         if (walkop1 == "back") {
  18.           string backop1;
  19.           Console.Write("You decide to listen to his problems, and it turns out he is a child who has cancer who is also an orphan. He asks you if you have time to go play basketball with him. Do you say yes, or do you say no? [YES] or [NO]: ");
  20.           backop1 = Console.ReadLine();
  21.           if (backop1 == "yes") {
  22.             Console.Write("You decide to go play basketball with him and you become his new friend. You guys spend a lot of time together and you guys enjoy your time.");
  23.           }
  24.           if (backop1 == "no") {
  25.             Console.Write("You let him go and he starts feeling bad again but you go home and continue your normal routine.");
  26.           }
  27.         }
  28.         if (walkop1 == "ignore") {
  29.           Console.Write("You have decided to ignore him. You walk away and get home and decide to play on your computer and continue your normal routine.");
  30.         }
  31.       }
  32.     }
  33.     if (main == "no") {
  34.       string noop1;
  35.       Console.Write("You have decided to walk away. You hear him cry louder and he asks you to wait. You ignore him and he says please I need a new friend and you seem nice. Do you ignore him again and walk away or do you go back and talk to him? [IGNORE] or [BACK] ");
  36.       noop1 = Console.ReadLine();
  37.       if (noop1 == "back") {
  38.         string backop3;
  39.         Console.Write("You decide to listen to his problems, and it turns out he is a child who has cancer who is also an orphan. He asks you if you have time to go play basketball with him. Do you say yes, or do you say no? [YES] or [NO]: ");
  40.         backop3 = Console.ReadLine();
  41.         if (backop3 == "yes") {
  42.           Console.Write("You decide to go play basketball with him and you become his new friend. You guys spend a lot of time together and you guys enjoy your time.");
  43.         }
  44.         if (backop3 == "no") {
  45.           Console.Write("You let him go and he starts feeling bad again but you go home and continue your normal routine.");
  46.         }
  47.       }
  48.       if (noop1 == "ignore") {
  49.         Console.Write("You have decided to ignore him. You walk away and get home and decide to play on your computer and continue your normal routine.");
  50.       }
  51.     }
  52.   }
  53. }

Editor

You can edit this paste and save as new:


File Description
  • erweuw
  • Paste Code
  • 20 Sep-2021
  • 3.28 Kb
You can Share it: