static String[] questions = {"1. Who is are national Hero in the Philippines?",
"2. What do you call an animal that only eats meat?",
"3. Who invented computer?",
"4. What is the capital of America in the year 1787?",
"5. What year did Abraham Lincoln became the president of the United States?"};
static String[] choices = {"A. Andres Bonifacio\nB. Jose Rizal\nC. Juan Luna",
"A. Herbivore\nB. Carnivore\nC. Omnivore",
"A. Alexander Graham Bell\nB. Charles Babbage\nC. Douglas Engelbert",
"A. New York\nB. Washington D.C.\nC. Chicago",
"A. 1861\nB. 1862\nC. 1863"};
public static void Main()
public static void showQuestions()
for (int i = 0; i < questions.Length; i++)
Console.WriteLine(questions[i] + "\n" + choices[i] + "\n");
public static void showSpecificQuestion(int input)
Console.WriteLine(questions[input] + "\n" + choices[input]);
public static void compareAnswer(int input, string answer)
String[] answers = {"b","b","b","a","a"};
if (answer == answers[input])
Console.WriteLine("True");
Console.WriteLine("False");