bare with me, I'm a beginner but what would "year" = ?
VB.NET:Sub Main() Dim month, year As Integer Console.WriteLine("Enter a month number:") month = Convert.ToInt32(Console.ReadLine) year = ? Select Case month Case 1, 3, 5, 7, 8, 10, 12 Console.WriteLine("There are 31 days in this month!") Case 4, 6, 9, 11 Console.WriteLine("There are 30 days in this month!") Case 2 Select Case year Case 2004, 2008, 2012, 2016 Console.WriteLine("There are 29 days in this month!") Case Else Console.WriteLine("There are 28 days in this month!") End Select End Select