Answer to Question #292201 in Visual Basic for Lam

Question #292201

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

1
Expert's answer
2022-02-02T14:34:47-0500
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

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS