Advertisement
Inksaver

The Answer

Jul 19th, 2020
1,380
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.75 KB | None | 0 0
  1. using System;
  2. using System.Threading;
  3.  
  4. namespace TheAnswer
  5. {
  6.     class Program
  7.     {
  8.         static void Main(string[] args)
  9.         {
  10.             Console.WriteLine("What is the problem?_");
  11.             string response = Console.ReadLine();
  12.             Console.WriteLine("The answer to... ");
  13.             Thread.Sleep(1000);
  14.             Console.WriteLine(response);
  15.             Thread.Sleep(1000);
  16.             Console.WriteLine("is...");
  17.             Thread.Sleep(2000);
  18.             Console.WriteLine("calculating. please wait...");
  19.             Thread.Sleep(3000);
  20.             Console.WriteLine("\n42\n");
  21.             Thread.Sleep(1000);
  22.             Console.Write("Press any key to quit");
  23.             Console.ReadKey(true);
  24.         }
  25.     }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement