Write an extensive program that will display any student profile with
(1) full name
(2) matric number
(3) age
(4) programme (e.g)(ft)
(5) level
Module Module1
Sub Main()
Console.Write("Enter full name: ")
Dim fullName As String = Console.ReadLine()
Console.Write("Enter matric number: ")
Dim matricNumber As Integer = Integer.Parse(Console.ReadLine())
Console.Write("Enter age: ")
Dim age As Integer = Integer.Parse(Console.ReadLine())
Console.Write("Enter programme: ")
Dim programme As String = Console.ReadLine()
Console.Write("Enter level: ")
Dim level As Integer = Integer.Parse(Console.ReadLine())
Console.WriteLine("The full name: {0}", fullName)
Console.WriteLine("The matric number: {0}", matricNumber)
Console.WriteLine("The age: {0}", age)
Console.WriteLine("The programme: {0}", programme)
Console.WriteLine("The level: {0}", level)
Console.ReadLine()
End Sub
End Module
Comments
Leave a comment