One suggestion for general improvement - unless you haven't been specifically asked for a homework assignment to use int variables, you might be better off using double variables, to allow non integer values of user input.
Ah. This is because you are multiplying vehicleSpeed by travelTime, which does not change. I assume you want to multiply it my numCount, which is the variable which increases up to travelTime.
Also, forget my previous post about doubles, I didn't realise you wanted to do this looping thing and it won't work with that.
Strange - Why would someone erase their post after an answer?
I don't think that a policy banning editing is a good idea - I've often had to quickly edit my posts to make them easier to understand or answer!
Yeah that's probably what he was thinking, but it's crap.
There's no solutions posted here so I don't see what the problem could possibly be. Any teacher that discourages independent research should not be teaching.
I think disallowing editing for the first n posts would be a nice solution. Editing is convenient but it's never a necessity. You can always write another post.