i've already written this code to allow a user to logg on but i need to allow the user only two try after which the program should terminate. also i'm trying to enter three numbers and calculate the average
Any ideas?
Printable View
i've already written this code to allow a user to logg on but i need to allow the user only two try after which the program should terminate. also i'm trying to enter three numbers and calculate the average
Any ideas?
calculating the average , do this :
VB Code:
Dim num1 As Integer = 2 Dim num2 As Integer = 4 Dim num3 As Integer = 6 MsgBox(num1 + num2 + num3 / 3)