Imports Microsoft.VisualBasic
Console.WriteLine("Hello World")
Console.WriteLine("first name")
First = Console.ReadLine()
Console.WriteLine("last name")
last = Console.ReadLine()
Console.WriteLine("{0} {1}", First, last)
Console.WriteLine(c & " " & last)
Console.WriteLine("{0} , {1}", last, First)
Console.WriteLine("Mr {0} {1}", c & last)
Console.WriteLine("Dear Mr " & last)
Console.WriteLine("First name: {0}, Second name: {1}", First, last)
Console.WriteLine("{0} {1}", First, last.ToUpper())
dim format as boolean = false
console.WriteLine("Input ID")
cha(0) = Asc( left(ID , 1))
cha(1) = Asc( mid(ID ,1, 1))
cha(2) = Asc( mid(ID ,2, 1))
cha(3) = Asc( mid(ID ,3, 1))
cha(4) = Asc( mid(ID ,4, 1))
cha(5) = Asc( right(ID , 1))
If cha(0) > 65 and cha(0)< 90 then
If cha(1) > 65 and cha(1)< 90 then
If cha(3) > 65 and cha(3)< 90 then
console.WriteLine("incorrect Format")
console.WriteLine("incorrect Format")
console.WriteLine("incorrect Format")
console.WriteLine("Correct Format")