I am new to C #. I wanted to make a simple program with some types of loops. I wanted my program to focus on the numbers that the user enters, and if they are less than the number and then write, keep guessing, but as soon as they enter the number 25, I wanted him to say "Merry Christmas." Please, help
int number;
do
{
Console.WriteLine("Guess a number between 20 through 25");
number = int.Parse(Console.ReadLine());
} while (number < 25);
C # Newbie
Beginner
source
share