September Morn Update
This commit is contained in:
parent
4e2d22a71d
commit
aac6731f2c
6856 changed files with 141342 additions and 21127 deletions
9
Task/Leap-year/Visual-Basic-.NET/leap-year.visual
Normal file
9
Task/Leap-year/Visual-Basic-.NET/leap-year.visual
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
Module Module1
|
||||
|
||||
Sub Main()
|
||||
For Each y In {1900, 1994, 1996, Date.Now.Year}
|
||||
Console.WriteLine("{0} is {1}a leap year.", y, If(Date.IsLeapYear(y), String.Empty, "not "))
|
||||
Next
|
||||
End Sub
|
||||
|
||||
End Module
|
||||
Loading…
Add table
Add a link
Reference in a new issue