December global holidays code example
Example 1: December global holidays
Maybe 2020 was kinda weird,
but I hope everyone reading this
has a wonderful December.
Happy Holidays!!!
:D
Example 2: December global holidays
its almost over...
Example 3: December global holidays
int dayOfChristmas = 1;
if(dayOfChristmas == 1)
{
Console.WriteLine("On the first day of Christmas my true love sent to me: A Partridge in a Pear Tree");
dayOfChristmas++;
}
if(dayOfChristmas == 2)
{
Console.WriteLine("On the second day of Christmas my true love sent to me: 2 Turtle Doves and a Partridge in a Pear Tree");
dayOfChristmas++;
}
if(dayOfChristmas == 3)
{
Console.WriteLine("On the third day of Christmas my true love sent to me: 3 French Hens 2 Turtle Doves and a Partridge in a Pear Tree");
dayOfChristmas++;
}
if(dayOfChristmas == 4)
{
Console.WriteLine("On the fourth day of Christmas my true love sent to me:4 Calling Birds 3 French Hens 2 Turtle Doves and a Partridge in a Pear Tree");
dayOfChristmas++;
}
if(dayOfChristmas == 5)
{
Console.WriteLine("On the fifth day of Christmas my true love sent to me: 5 Golden Rings 4 Calling Birds 3 French Hens 2 Turtle Doves and a Partridge in a Pear Tree");
dayOfChristmas++;
}
if(dayOfChristmas == 6)
{
Console.WriteLine("On the sixth day of Christmasmy true love sent to me: 6 Geese a Laying 5 Golden Rings 4 Calling Birds 3 French Hens 2 Turtle Doves and a Partridge in a Pear Tree");
dayOfChristmas++;
}
if(dayOfChristmas == 7)
{
Console.WriteLine("On the seventh day of Christmas my true love sent to me: 7 Swans a Swimming 6 Geese a Laying 5 Golden Rings 4 Calling Birds 3 French Hens 2 Turtle Doves and a Partridge in a Pear Tree");
dayOfChristmas++;
}
if(dayOfChristmas == 8)
{
Console.WriteLine("On the eighth day of Christmas my true love sent to me: 8 Maids a Milking 7 Swans a Swimming 6 Geese a Laying 5 Golden Rings 4 Calling Birds 3 French Hens 2 Turtle Doves and a Partridge in a Pear Tree");
dayOfChristmas++;
}
if(dayOfChristmas == 9)
{
Console.WriteLine("On the ninth day of Christmas my true love sent to me: 9 Ladies Dancing 8 Maids a Milking 7 Swans a Swimming 6 Geese a Laying 5 Golden Rings 4 Calling Bird 3 French Hens 2 Turtle Doves and a Partridge in a Pear Tree");
dayOfChristmas++;
}
if(dayOfChristmas == 10)
{
Console.WriteLine("On the tenth day of Christmas my true love sent to me: 10 Lords a Leaping 9 Ladies Dancing 8 Maids a Milking 7 Swans a Swimming 6 Geese a Laying 5 Golden Rings 4 Calling Birds 3 French Hens 2 Turtle Doves and a Partridge in a Pear Tree");
dayOfChristmas++;
}
if(dayOfChristmas == 11)
{
Console.WriteLine("On the eleventh day of Christmas my true love sent to me: 11 Pipers Piping 10 Lords a Leaping 9 Ladies Dancing 8 Maids a Milking 7 Swans a Swimming 6 Geese a Laying 5 Golden Rings 4 Calling Birds 3 French Hens 2 Turtle Doves and a Partridge in a Pear Tree");
dayOfChristmas++;
}
if(dayOfChristmas == 12)
{
Console.WriteLine("On the twelfth day of Christmas my true love sent to me 12 Drummers Drumming 11 Pipers Piping 10 Lords a Leaping 9 Ladies Dancing 8 Maids a Milking 7 Swans a Swimming 6 Geese a Laying 5 Golden Rings 4 Calling Birds 3 French Hens 2 Turtle Doves and a Partridge in a Pear Tree");
dayOfChristmas++;
}
Console.WriteLine("Happy Holidays");
Example 4: December global holidays
if December 25
Print('Christmas')
Example 5: December global holidays
Happy Holidays Everyone!
Example 6: December global holidays
print('Happy Holidays God Bless!!')
Example 7: December global holidays
Merry Christmas everyone.
2020 was weird but lets all hope that 2021 is better.
Example 8: December global holidays
HAPPY HOLIDAYS
Example 9: December global holidays
Happy Festivus!
Example 10: December global holidays
Happy Holidays!!!