@4x2y
if I were to use your code as a start My next task is to create a program that makes a car object and then calls the accelerate method five times after each call the accelerate method gets the cars speed and displays it how do i go about doing this? This is how far i gotten?Code:Module Module1 Sub Main() Dim mycar As CarClass Dim index As Integer mycar = New CarClass() For index = 0 To 4 Console.WriteLine("the speed is " & mycar.Accelerate()) Next End Sub End Module




Reply With Quote