public static void Main()
int highScore = 0, currentScore = 1;
Console.WriteLine("Target Score:");
targetScore = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("High Score:");
highScore = Convert.ToInt32(Console.ReadLine());
for (; currentScore < targetScore; currentScore++) {
if (highScore > 30 || currentScore > 30)
if ((currentScore % 15) == 0)
if (currentScore > highScore)
highScore = currentScore;
else if (nextLevel == true)
if ((currentScore%50) == 0)
if (currentScore > highScore)
highScore = currentScore;
Console.WriteLine("Current Score: " + currentScore);
Console.WriteLine("High Score: " + highScore);