You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
float distanceInMile=Float.parseFloat(JOptionPane.showInputDialog(null, "What's the distance between your house and your uncle's house in miles ?"));
JOptionPane.showMessageDialog(null,"The distance between my house and my uncle's house is "+distanceInMile+ " miles or "+distanceInMile*NUMBER_OF_FEET_IN_MILE+ " feet.");