static int wins=0,losses=0;
public static void Main()
string [] questions={"Who is the highest scorer in soccer? [1]Messi [2] Ronaldo [3]Pele [4]Josef Bican", "Who is referred to as the peoples champ in boxing? [1]Mohammed Ali [2]Mike Tyson [3]Tyson fury [4]Floyd Mayweather", "Who has the most basketball points in NBA history [1]Micheal Jordan [2]Wilt Chamberlain [3]Kareem Abdul-Jabbar [4]Lebron James", "Who won the mvp award in the nfl in 2020? [1] Patrick Mahomes [2] Lamar Jackson [3] Tom Brady [4]Cam Newton", "Who was the first black MLB player? [1] Moses Fleetwood [2]Jackie Robinson [3] Hank Arron [4] Willie Mayes", "Who won in the Mike Tyson and Evander Holyfied 2 fight? [1]Mike Tyson [2] Evander Holyfied"};
Console.WriteLine("Welcome to sports trivia!");
Console.WriteLine("------------------------------");
Console.WriteLine("How many questions would you like?");
questionamount = int.Parse(Console.ReadLine());
for(int i=0; i<questionamount;i++){
while(question2==question){
Console.WriteLine(questions[question]);
int answer=int.Parse(Console.ReadLine());
Console.WriteLine(outcome(answer, question));
Console.WriteLine("-------------------------------------");
Console.WriteLine("Correct: " +wins);
Console.WriteLine("Incorrect: " +losses);
Console.WriteLine("-------------------------------------");
Console.WriteLine("[1] Retake quiz, [2] quit");
choice=int.Parse(Console.ReadLine());
Random random = new Random();
result = random.Next(1, 7);
static String outcome(int uc, int cc)
result="You are correct!";
else if (uc!=4 && cc==1){
result="You are incorrect.";
else if (uc==1 && cc==2){
result="You are correct!";
else if (uc!=1 && cc==2){
result="You are incorrect.";
else if (uc==3 && cc==3){
result="You are correct!";
else if (uc!=3 && cc==3){
result="You are incorrect.";
else if (uc==1 && cc==4){
result="You are correct!";
else if (uc!=1 && cc==4){
result="You are incorrect.";
else if (uc==1 && cc==5){
result="You are correct!";
else if (uc!=1 && cc==5){
result="You are incorrect.";
else if (uc==2 && cc==6){
result="You are correct!";
else if (uc!=2 && cc==6){
result="You are incorrect.";