Senin, 10 April 2017

Contoh Penggunaan Variable & Konstanta pada Visual Studio 2015



KODINGNYA :

Module Module1

    Sub Main()
        Dim A As String
        Dim B As Integer
        Dim c
        Const Nama As String = "Eneng Siti Patimah"
        Const tlhr As Integer = 200698

        A = "Neng"
        B = 201605
        c = "siapakah anda"
        Console.WriteLine(A)
        Console.WriteLine(B)
        Console.WriteLine(c)
        Console.WriteLine(Nama)
        Console.WriteLine(tlhr)
        Console.ReadLine()

    End Sub

End Module


0 komentar:

Posting Komentar