C # quiz program – Code Review Stack Exchange

I do a quiz program, and I put it in a state (through this forum) where it will run in the program and will score (somewhat) accurately. My loops are set up so that the user has an infinite chance to answer each question. What I have been arguing now is how to modify the program so that an attempt is allowed and the questions to which it will be answered incorrectly will be asked again during a second round.
What I was trying to implement and fail at is:
– Advance the second condition of each of my if / else loops to the next question, mark the incorrect questions so that they are repeated and finally display the correct answers to the second iteration of the query, and allow a second attempt at incorrect questions.

using the system;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

Mark11QuizBasic namespace
{
class program
{
static void Main (string[] args)
{
int scoreA = 0;
int scoreB = 0;
int score C = score A + score B;
string answer1 = "d";
answer2 = "a" string;
answer3 = "c" string;
answer4 = "d" string;
answer5 = "b" string;
string answer6 = "a";
string answer7 = "b";
answer8 = "d" string;
answer9 = "b" string;
string answer10 = "b";


Program.ClassHeader (); // Method1


// n1
Console.WriteLine ("");
Console.WriteLine ("Responses are case-sensitive, please enter the answers in lower case, the best possible score is 10.");
Console.WriteLine ("");


bool KeepLooping = true;

while (KeepLooping)
{
Console.WriteLine ("1. What subject of mathematics is essential in astral navigation?" +
"Probabilities and statistics, B. Differential calculus, C. Basic algebra, d.Trigonometry."
answer1 = Console.ReadLine ();
Console.Clear ();

if ((answer1! = "a") && (answer1! = "b") && (answer1! = "c") && (answer1! = "d"))
{
Console.WriteLine ("INPUT INVALID");
}
other
{
if (answer1 == "d")
{
scoreA = scoreA + 1; // score
Console.WriteLine ("Correct! Score:" + scoreA);
KeepLooping = false;

}
other
{
Console.WriteLine ("Incorrect. Please try again.");
}
}
} // end n1

// N2
KeepLooping = true;

while (KeepLooping)
{
Console.WriteLine ("1. A sloop is a sailboat with a mast A. True, b False.");
answer2 = Console.ReadLine ();
Console.Clear ();

if ((answer2! = "a") && (answer2! = "b"))
{
Console.WriteLine ("INPUT INVALID");
}
other
{
if (answer2 == "a")
{
score B = score B + score A + 1; // score
Console.WriteLine ("Correct! Score:" + scoreB);
KeepLooping = false;

}
other
{
Console.WriteLine ("Incorrect. Please try again.");
}
}
} // end n2

// N3
KeepLooping = true;

while (KeepLooping)
{
Console.WriteLine ("1. Which port is which side of a ship?" +
"Right, B. Back, C. Left, D. Before.");
answer3 = Console.ReadLine ();
Console.Clear ();

if ((answer3! = "a") && (answer3! = "b") && (answer3! = "c") && (answer3! = "d"))
{
Console.WriteLine ("INPUT INVALID");
}
other
{
if (answer3 == "c")
{
score C = score B + 1; // score
Console.WriteLine ("Correct! Score:" + scoreC);
KeepLooping = false;

}
other
{
Console.WriteLine ("Incorrect. Please try again.");
}
}
} // end N3

// N4
KeepLooping = true;

while (KeepLooping)
{
Console.WriteLine ("4. The starboard is on which side of a ship? A. Forward, B. Rear, C. Left, D. Right.");
answer3 = Console.ReadLine ();
Console.Clear ();

if ((answer3! = "a") && (answer3! = "b") && (answer3! = "c") && (answer3! = "d"))
{
Console.WriteLine ("INPUT INVALID");
}
other
{
if (answer4 == "d")
{
score A = score C + 1; // score
Console.WriteLine ("Correct! Score:" + scoreA);
KeepLooping = false;

}
other
{
Console.WriteLine ("Incorrect. Please try again.");
}
}
} // end N4

// N5
KeepLooping = true;

while (KeepLooping)
{
Console.WriteLine ("5. The seawater is drinkable to drink without purification A. True or B. False");
answer2 = Console.ReadLine ();
Console.Clear ();

if ((answer2! = "a") && (answer2! = "b"))
{
Console.WriteLine ("INPUT INVALID");
}
other
{
if (answer5 == "b")
{
score B = score A + 1; // score
Console.WriteLine ("Correct! Score:" + scoreB);
KeepLooping = false;

}
other
{
Console.WriteLine ("Incorrect. Please try again.");
}
}
} // end N5

// n6
KeepLooping = true;

while (KeepLooping)
{
Console.WriteLine ("6. On a sailboat, a leaf is: a.Cords that control the rigging, B. A sail, C. A piece of bedding, a piece of paper.");
answer3 = Console.ReadLine ();
Console.Clear ();

if ((answer3! = "a") && (answer3! = "b") && (answer3! = "c") && (answer3! = "d"))
{
Console.WriteLine ("INPUT INVALID");
}
other
{
if (answer6 == "a")
{
score A = score B + 1; // score
Console.WriteLine ("Correct! Score:" + scoreA);
KeepLooping = false;

}
other
{
Console.WriteLine ("Incorrect. Please try again.");
}
}
} // end n6

// n7
KeepLooping = true;

while (KeepLooping)
{
Console.WriteLine ("7. On a sailboat, a line is: a.Cords that control the rigging, B. Ropes or cables that support the rigging, C. A piece of loose rope, A. A rope used as washing line . ");
answer3 = Console.ReadLine ();
Console.Clear ();

if ((answer3! = "a") && (answer3! = "b") && (answer3! = "c") && (answer3! = "d"))
{
Console.WriteLine ("INPUT INVALID");
}
other
{
if (answer7 == "b")
{
scoreA = scoreA + 1; // score
Console.WriteLine ("Correct! Score:" + scoreA);
KeepLooping = false;

}
other
{
Console.WriteLine ("Incorrect. Please try again.");
}
}
} // end n7

// n8
KeepLooping = true;

while (KeepLooping)
{
Console.WriteLine ("8. What is a kitchen? A. A type of ship, B. A hallway on a ship, C. The kitchen of a ship, d. two a and c. ");
answer3 = Console.ReadLine ();
Console.Clear ();

if ((answer3! = "a") && (answer3! = "b") && (answer3! = "c") && (answer3! = "d"))
{
Console.WriteLine ("INPUT INVALID");
}
other
{
if (answer8 == "d")
{
scoreA = scoreA + 1; // score
Console.WriteLine ("Correct! Score:" + scoreA);
KeepLooping = false;

}
other
{
Console.WriteLine ("Incorrect. Please try again.");
}
}
} // end n8

// n9
KeepLooping = true;

while (KeepLooping)
{
Console.WriteLine ("9. Salinity differs by oceans and locations but, on average, seawater is the percentage of dissolved salt A. 1%, b 3.5%, v. 5 , 5%, d 10%. ");
answer3 = Console.ReadLine ();
Console.Clear ();

if ((answer3! = "a") && (answer3! = "b") && (answer3! = "c") && (answer3! = "d"))
{
Console.WriteLine ("INPUT INVALID");
}
other
{
if (answer9 == "b")
{
scoreA = scoreA + 1; // score
Console.WriteLine ("Correct! Score:" + scoreA);
KeepLooping = false;

}
other
{
Console.WriteLine ("Incorrect. Please try again.");
}
}
} // end n9

// n10
KeepLooping = true;

while (KeepLooping)
{
Console.WriteLine ("" The 10 ° North is at 45 ° on a compass A. True or b False? ");
answer2 = Console.ReadLine ();
Console.Clear ();

if ((answer2! = "a") && (answer2! = "b"))
{
Console.WriteLine ("INPUT INVALID");
}
other
{
if (answer10 == "b")
{
score B = score A + 1; // score
Console.WriteLine ("Correct! Score:" + scoreB);
KeepLooping = false;

}
other
{
Console.WriteLine ("Incorrect. Please try again.");
}
}
} // end n10

Console.ReadKey ();
Console.WriteLine ("Thank you for answering my quiz.Your score is:" + scoreB);

}

static void ClassHeader () // Method 1
{
Console.WriteLine ("Questionnaire Program");
}

}

}

I am still very new, so I try to keep things very simple even if they are swollen. I post everything so you can see where I am in terms of skills.