dim speedmeasurement as string
console.writeline("please input the distance between the two sensors in either metres or feet")
Distance = console.readline()
console.writeline("did you enter feet?")
distanceft = console.ReadLine()
console.WriteLine("please input the time in seconds it took between the car being detected")
Time = console.readline()
console.writeline("what is the speed limit in the area of the two sensors, please enter only the speed, not the measurement it is in?")
limit= console.ReadLine()
console.writeline("do you want your speed to be in KM/H or MPH?")
speedmeasurement = console.readline()
if speedmeasurement = "MPH"
Distance1 = distance / 3.28
console.writeline("your speed was " & S & "MPH")
console.writeline("your speed was " & S & "MPH")
if speedmeasurement = "KM/H"
distance = distance / 3.28
console.writeline("your speed was " & S2 & " KM/H")
console.writeline("your speed was " & S2 & " KM/H")
Dim overlimit1 as integer
If speedmeasurement = "MPH" then
console.writeline(" you were over the speed limit by " & overlimit & "MPH")
console.writeline("you were within the speed limit")
console.writeline("You were over the speed limit by " & overlimit1 & "KM/H")
console.writeline("you were within the speed limit")