Its usually a good idea to give a value to a variable that is local to a method when you define it.
You could wait and define it at the same time as you read a value into it:
int tripMiles =...