I have this problem wherein I have to convert kilometers into miles. I\'m a novice programmer so bear with me.
Here\'s my code so far:
import java.ut
You are trying to set a double to a float variable
double
float
To fix, change this line
m=km*0.621371;
to
m=km*0.621371f;