Advertisement
Kexus123

FrågeSport Questions v.1

Sep 4th, 2015
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 5.91 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 Questions
  8. {
  9.     class Program
  10.     {
  11.         static void Main(string[] args)
  12.         {
  13.             string input;
  14.             int points = 0;
  15.             Console.WriteLine("Welcome to Questions!");
  16.             System.Threading.Thread.Sleep(250);
  17.             Console.WriteLine("<Press ENTER to continue>");
  18.             Console.ReadKey();
  19.             System.Threading.Thread.Sleep(250);
  20.             Console.Clear();
  21.             System.Threading.Thread.Sleep(250);
  22.             Console.WriteLine("Q1. What's the highest rank in CounterStrike Global Offensive?");
  23.             System.Threading.Thread.Sleep(250);
  24.             Console.WriteLine("1. Global Elite");
  25.             System.Threading.Thread.Sleep(250);
  26.             Console.WriteLine("2. Gold Nova 1");
  27.             System.Threading.Thread.Sleep(250);
  28.             Console.WriteLine("3. Legendary Eagle");
  29.             System.Threading.Thread.Sleep(250);
  30.             Console.WriteLine("4. Silver Elite Master");
  31.             input = Console.ReadLine();
  32.             if (input == "1")
  33.             {
  34.                 Console.WriteLine("Right answer!");
  35.                 points = points + 1;
  36.             }
  37.             else
  38.             {
  39.                 Console.WriteLine("Wrong answer!");
  40.             }
  41.             System.Threading.Thread.Sleep(750);
  42.             Console.Clear();
  43.             System.Threading.Thread.Sleep(250);
  44.             Console.WriteLine("<Press ENTER to continue>");
  45.             Console.ReadKey();
  46.             System.Threading.Thread.Sleep(250);
  47.             Console.Clear();
  48.             Console.WriteLine("Q2. What is the capital of America?");
  49.             System.Threading.Thread.Sleep(250);
  50.             Console.WriteLine("1. London");
  51.             System.Threading.Thread.Sleep(250);
  52.             Console.WriteLine("2. Washington");
  53.             System.Threading.Thread.Sleep(250);
  54.             Console.WriteLine("3. San Francisco");
  55.             System.Threading.Thread.Sleep(250);
  56.             Console.WriteLine("4. Washington D.C.");
  57.             input = Console.ReadLine();
  58.             if (input == "4")
  59.             {
  60.                 Console.WriteLine("Right answer!");
  61.                 points = points + 1;
  62.             }
  63.             else
  64.             {
  65.                 Console.WriteLine("Wrong answer!");
  66.             }
  67.             System.Threading.Thread.Sleep(750);
  68.             Console.Clear();
  69.             Console.WriteLine("<Press ENTER to continue>");
  70.             Console.ReadKey();
  71.             System.Threading.Thread.Sleep(250);
  72.             Console.Clear();
  73.             System.Threading.Thread.Sleep(250);
  74.             Console.WriteLine("Q3. How many ways are there to make change for a dollar?");
  75.             System.Threading.Thread.Sleep(250);
  76.             Console.WriteLine("1. 67");
  77.             System.Threading.Thread.Sleep(250);
  78.             Console.WriteLine("2. 53");
  79.             System.Threading.Thread.Sleep(250);
  80.             Console.WriteLine("3. 289");
  81.             System.Threading.Thread.Sleep(250);
  82.             Console.WriteLine("4. 293");
  83.             input = Console.ReadLine();
  84.             if (input == "4")
  85.             {
  86.                 Console.WriteLine("Right answer!");
  87.                 points = points + 1;
  88.             }
  89.             else
  90.             {
  91.                 Console.WriteLine("Wrong answer!");
  92.             }
  93.             System.Threading.Thread.Sleep(750);
  94.             Console.Clear();
  95.             Console.WriteLine("<Press ENTER to continue>");
  96.             Console.ReadKey();
  97.             System.Threading.Thread.Sleep(250);
  98.             Console.Clear();
  99.             Console.WriteLine("Q4. What is an one of the ingredient of dynamite?");
  100.             System.Threading.Thread.Sleep(250);
  101.             Console.WriteLine("1. Rubber");
  102.             System.Threading.Thread.Sleep(250);
  103.             Console.WriteLine("2. Peanuts");
  104.             System.Threading.Thread.Sleep(250);
  105.             Console.WriteLine("3. Sand");
  106.             System.Threading.Thread.Sleep(250);
  107.             Console.WriteLine("4. Hair");
  108.             input = Console.ReadLine();
  109.             if (input == "2")
  110.             {
  111.                 Console.WriteLine("Right Answer");
  112.                 points = points + 2;
  113.                 System.Threading.Thread.Sleep(750);
  114.                 Console.Clear();
  115.                 Console.WriteLine("<Press ENTER to continue>");
  116.                 Console.ReadKey();
  117.                 System.Threading.Thread.Sleep(250);
  118.                 Console.Clear();
  119.                 Console.WriteLine("This is the last question, it's worth 2 points!");
  120.                 System.Threading.Thread.Sleep(2000);
  121.                 Console.Clear();
  122.                 Console.WriteLine("Q5. How long is the lifespan of an dragonfly?");
  123.                 System.Threading.Thread.Sleep(250);
  124.                 Console.WriteLine("1. 20 Minutes");
  125.                 System.Threading.Thread.Sleep(250);
  126.                 Console.WriteLine("2. 1 Hour");
  127.                 System.Threading.Thread.Sleep(250);
  128.                 Console.WriteLine("3. 12 Hours");
  129.                 System.Threading.Thread.Sleep(250);
  130.                 Console.WriteLine("4. 24 Hours");
  131.                 System.Threading.Thread.Sleep(250);
  132.                 input = Console.ReadLine();
  133.                 System.Threading.Thread.Sleep(250);
  134.                 Console.Clear();
  135.                     Console.WriteLine("Score:" + points);
  136.                     Console.WriteLine("Congratulations, you have completed my game!");
  137.                     Console.WriteLine("Made by: Rasmus Andersen");
  138.                     Console.ReadKey();
  139.                 }
  140.                 else
  141.                 {
  142.                     Console.WriteLine("Wrong answer!");
  143.                 }
  144.                     Console.WriteLine("Score:" + points);
  145.                     Console.ReadKey();
  146.         }
  147.     }
  148. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement