Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Questions
- {
- class Program
- {
- static void Main(string[] args)
- {
- string input;
- int points = 0;
- Console.WriteLine("Welcome to Questions!");
- System.Threading.Thread.Sleep(250);
- Console.WriteLine("<Press ENTER to continue>");
- Console.ReadKey();
- System.Threading.Thread.Sleep(250);
- Console.Clear();
- System.Threading.Thread.Sleep(250);
- Console.WriteLine("Q1. What's the highest rank in CounterStrike Global Offensive?");
- System.Threading.Thread.Sleep(250);
- Console.WriteLine("1. Global Elite");
- System.Threading.Thread.Sleep(250);
- Console.WriteLine("2. Gold Nova 1");
- System.Threading.Thread.Sleep(250);
- Console.WriteLine("3. Legendary Eagle");
- System.Threading.Thread.Sleep(250);
- Console.WriteLine("4. Silver Elite Master");
- input = Console.ReadLine();
- if (input == "1")
- {
- Console.WriteLine("Right answer!");
- points = points + 1;
- }
- else
- {
- Console.WriteLine("Wrong answer!");
- }
- System.Threading.Thread.Sleep(750);
- Console.Clear();
- System.Threading.Thread.Sleep(250);
- Console.WriteLine("<Press ENTER to continue>");
- Console.ReadKey();
- System.Threading.Thread.Sleep(250);
- Console.Clear();
- Console.WriteLine("Q2. What is the capital of America?");
- System.Threading.Thread.Sleep(250);
- Console.WriteLine("1. London");
- System.Threading.Thread.Sleep(250);
- Console.WriteLine("2. Washington");
- System.Threading.Thread.Sleep(250);
- Console.WriteLine("3. San Francisco");
- System.Threading.Thread.Sleep(250);
- Console.WriteLine("4. Washington D.C.");
- input = Console.ReadLine();
- if (input == "4")
- {
- Console.WriteLine("Right answer!");
- points = points + 1;
- }
- else
- {
- Console.WriteLine("Wrong answer!");
- }
- System.Threading.Thread.Sleep(750);
- Console.Clear();
- Console.WriteLine("<Press ENTER to continue>");
- Console.ReadKey();
- System.Threading.Thread.Sleep(250);
- Console.Clear();
- System.Threading.Thread.Sleep(250);
- Console.WriteLine("Q3. How many ways are there to make change for a dollar?");
- System.Threading.Thread.Sleep(250);
- Console.WriteLine("1. 67");
- System.Threading.Thread.Sleep(250);
- Console.WriteLine("2. 53");
- System.Threading.Thread.Sleep(250);
- Console.WriteLine("3. 289");
- System.Threading.Thread.Sleep(250);
- Console.WriteLine("4. 293");
- input = Console.ReadLine();
- if (input == "4")
- {
- Console.WriteLine("Right answer!");
- points = points + 1;
- }
- else
- {
- Console.WriteLine("Wrong answer!");
- }
- System.Threading.Thread.Sleep(750);
- Console.Clear();
- Console.WriteLine("<Press ENTER to continue>");
- Console.ReadKey();
- System.Threading.Thread.Sleep(250);
- Console.Clear();
- Console.WriteLine("Q4. What is an one of the ingredient of dynamite?");
- System.Threading.Thread.Sleep(250);
- Console.WriteLine("1. Rubber");
- System.Threading.Thread.Sleep(250);
- Console.WriteLine("2. Peanuts");
- System.Threading.Thread.Sleep(250);
- Console.WriteLine("3. Sand");
- System.Threading.Thread.Sleep(250);
- Console.WriteLine("4. Hair");
- input = Console.ReadLine();
- if (input == "2")
- {
- Console.WriteLine("Right Answer");
- points = points + 2;
- System.Threading.Thread.Sleep(750);
- Console.Clear();
- Console.WriteLine("<Press ENTER to continue>");
- Console.ReadKey();
- System.Threading.Thread.Sleep(250);
- Console.Clear();
- Console.WriteLine("This is the last question, it's worth 2 points!");
- System.Threading.Thread.Sleep(2000);
- Console.Clear();
- Console.WriteLine("Q5. How long is the lifespan of an dragonfly?");
- System.Threading.Thread.Sleep(250);
- Console.WriteLine("1. 20 Minutes");
- System.Threading.Thread.Sleep(250);
- Console.WriteLine("2. 1 Hour");
- System.Threading.Thread.Sleep(250);
- Console.WriteLine("3. 12 Hours");
- System.Threading.Thread.Sleep(250);
- Console.WriteLine("4. 24 Hours");
- System.Threading.Thread.Sleep(250);
- input = Console.ReadLine();
- System.Threading.Thread.Sleep(250);
- Console.Clear();
- Console.WriteLine("Score:" + points);
- Console.WriteLine("Congratulations, you have completed my game!");
- Console.WriteLine("Made by: Rasmus Andersen");
- Console.ReadKey();
- }
- else
- {
- Console.WriteLine("Wrong answer!");
- }
- Console.WriteLine("Score:" + points);
- Console.ReadKey();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement