randomposts
Powered by Blogger.

ASCII Value Program Code in Console Application VB

No comments

#ASCII Value Program Code Here..
Module Module1 /* Modile1 is an  name of the Console Module */

    Public name(20) As Char
    Public i, s As Integer
    Sub Main()
        System.Console.Write("Enter Your Name:__")
        name = System.Console.ReadLine()
        s = name.Length - 1
        System.Console.WriteLine("Ascii Value:=")
        For i = 0 To s
            System.Console.WriteLine(name(i) & ":" & Asc(name(i)))
        Next
        System.Console.Read()
    End Sub

End Module

Note: *Remove The Sentence on this program ___(Don't Missing Syntax required).

No comments :

Post a Comment