Leap Year Programming Code in Console Application on Visual Studio
# Leap Year
Console Programming Code Here...
Module leapyear /* Module Name*/
Sub Main()
Dim
i As Integer
System.Console.Write("Enter your Year")
i =
System.Console.ReadLine()
If
(i Mod 4 = 0) Then
System.Console.Write("Leap year")
Else
System.Console.Write("Not Leap Year")
End
If
System.Console.Read()
End Sub
End Module
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment